Skip to content

Commit 33c4eed

Browse files
authored
Fix doctest
>>> find_neighborhood(['a','c','b','d','e','a']) # doctest: +NORMALIZE_WHITESPACE [['a','e','b','d','c','a',90], [['a','c','d','b','e','a',90], ['a','d','b','c','e','a',93], ['a','c','b','e','d','a',102], ['a','c','e','d','b','a',113], ['a','b','c','d','e','a',93]]
1 parent abaa247 commit 33c4eed

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

searches/tabu_search.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,10 +139,6 @@ def find_neighborhood(solution, dict_of_neighbours):
139139
from the solution that the method took as an input
140140
141141
Example:
142-
>>> find_neighborhood(['a','c','b','d','e','a']) # doctest: +NORMALIZE_WHITESPACE
143-
[['a','e','b','d','c','a',90], [['a','c','d','b','e','a',90],
144-
['a','d','b','c','e','a',93], ['a','c','b','e','d','a',102],
145-
['a','c','e','d','b','a',113], ['a','b','c','d','e','a',93]]
146142
>>> find_neighborhood(['a', 'c', 'b', 'd', 'e', 'a'],
147143
... {'a': [['b', '20'], ['c', '18'], ['d', '22'], ['e', '26']],
148144
... 'c': [['a', '18'], ['b', '10'], ['d', '23'], ['e', '24']],

0 commit comments

Comments
 (0)