Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 70f4e82

Browse files
authored
Search.ipynb (aimacode#1167)
* Update search.ipynb * Update search.ipynb
1 parent 076556a commit 70f4e82

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

search.ipynb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2853,6 +2853,7 @@
28532853
" neighbor = argmax_random_tie(neighbors,\n",
28542854
" key=lambda node: problem.value(node.state))\n",
28552855
" if problem.value(neighbor.state) <= problem.value(current.state):\n",
2856+
" \"\"\"Note that it is based on negative path cost method\"\"\"\n",
28562857
" current.state = neighbor.state\n",
28572858
" iterations -= 1\n",
28582859
" \n",

0 commit comments

Comments
 (0)