diff --git a/3-Solving-Problems-By-Searching/c_breadthFirstSearch.js b/3-Solving-Problems-By-Searching/c_breadthFirstSearch.js index ce98ae5..2ca3968 100644 --- a/3-Solving-Problems-By-Searching/c_breadthFirstSearch.js +++ b/3-Solving-Problems-By-Searching/c_breadthFirstSearch.js @@ -34,7 +34,7 @@ $(document).ready(function() { intervalFunction = setInterval(updateFunction, DELAY); }; $('#bfsRestartButton').click(init); - $('#fifoWaiting').css('background-color', 'hsl(200,50%,70%)'); - $('#fifoNextNode').css('background-color', 'hsla(126, 100%, 69%, 1)'); + $('#fifoWaiting').css('background-color', 'hsl(0,50%,75%)'); + $('#fifoNextNode').css('background-color', 'hsl(126, 100%, 69%)'); init(); }); diff --git a/3-Solving-Problems-By-Searching/c_depthFirstSearch.js b/3-Solving-Problems-By-Searching/c_depthFirstSearch.js index 60158a5..858bf3d 100644 --- a/3-Solving-Problems-By-Searching/c_depthFirstSearch.js +++ b/3-Solving-Problems-By-Searching/c_depthFirstSearch.js @@ -33,7 +33,7 @@ $(document).ready(function() { intervalFunction = setInterval(updateFunction, DELAY); }; $('#dfsRestartButton').click(init); - $('#lifoWaiting').css('background-color', 'hsl(200,50%,70%)'); - $('#lifoNextNode').css('background-color', 'hsla(126, 100%, 69%, 1)'); + $('#lifoWaiting').css('background-color', 'hsl(0,50%,75%)'); + $('#lifoNextNode').css('background-color', 'hsl(126, 100%, 69%)'); init(); }); diff --git a/3-Solving-Problems-By-Searching/c_depthLimitedSearch.js b/3-Solving-Problems-By-Searching/c_depthLimitedSearch.js index dbf0064..0229962 100644 --- a/3-Solving-Problems-By-Searching/c_depthLimitedSearch.js +++ b/3-Solving-Problems-By-Searching/c_depthLimitedSearch.js @@ -14,8 +14,8 @@ $(document).ready(function() { } - $('#dlsExpanded').css('background-color', 'hsl(0,50%,75%)'); - $('#dlsFrontier').css('background-color', 'hsl(200,50%,70%)'); + $('#dlsExpanded').css('background-color', 'hsl(200,50%,70%)'); + $('#dlsFrontier').css('background-color', 'hsl(0,50%,75%)'); $('#dlsUnexplored').css('background-color', 'hsl(0, 2%, 76%)'); init(); $('#limitSelector').on('input change', function() { diff --git a/3-Solving-Problems-By-Searching/c_iterativeDeepening.js b/3-Solving-Problems-By-Searching/c_iterativeDeepening.js index 3105422..8390f71 100644 --- a/3-Solving-Problems-By-Searching/c_iterativeDeepening.js +++ b/3-Solving-Problems-By-Searching/c_iterativeDeepening.js @@ -24,8 +24,8 @@ $(document).ready(function() { }, DELAY) } - $('#idExpanded').css('background-color', 'hsl(0,50%,75%)'); - $('#idFrontier').css('background-color', 'hsl(200,50%,70%)'); + $('#idExpanded').css('background-color', 'hsl(200,50%,70%)'); + $('#idFrontier').css('background-color', 'hsl(0,50%,75%)'); $('#idUnexplored').css('background-color', 'hsl(0, 2%, 76%)'); $('#idRestartButton').click(function() { clearInterval(intervalFunction); diff --git a/3-Solving-Problems-By-Searching/c_uniformCostSearch.js b/3-Solving-Problems-By-Searching/c_uniformCostSearch.js index 19754c2..3c3519c 100644 --- a/3-Solving-Problems-By-Searching/c_uniformCostSearch.js +++ b/3-Solving-Problems-By-Searching/c_uniformCostSearch.js @@ -61,9 +61,9 @@ $(document).ready(function() { intervalFunction = setInterval(updateFunction, DELAY); }; $('#ucsRestartButton').click(init); - $('#ucsWaiting').css('background-color', 'hsl(200,50%,70%)'); - $('#ucsNextNode').css('background-color', 'hsla(126, 100%, 69%, 1)'); - $('#ucsExploredNode').css('background-color', 'hsl(0,50%,75%)'); + $('#ucsWaiting').css('background-color', 'hsl(0,50%,75%)'); + $('#ucsNextNode').css('background-color', 'hsl(126, 100%, 69%)'); + $('#ucsExploredNode').css('background-color', 'hsl(200,50%,70%)'); init(); }); //Function to draw the list of nodes for both canvas diff --git a/3-Solving-Problems-By-Searching/helpers.js b/3-Solving-Problems-By-Searching/helpers.js index 39d103a..bc04c2e 100644 --- a/3-Solving-Problems-By-Searching/helpers.js +++ b/3-Solving-Problems-By-Searching/helpers.js @@ -26,7 +26,7 @@ function getEdgeCostLocation(x1, y1, x2, y2) { var DefaultOptions = function() { this.nodes = { explored: { - fill: 'hsl(0,50%,75%)', + fill: 'hsl(200,50%,70%)', stroke: 'black', opacity: 1, clickHandler: null, @@ -42,7 +42,7 @@ var DefaultOptions = function() { onMouseLeave: null }, frontier: { - fill: 'hsl(200,50%,70%)', + fill: 'hsl(0,50%,75%)', stroke: 'black', opacity: 1, clickHandler: null,