Python/searches
Christian Clauss b9e5259aeb
Fix long line, tests (#2123)
* Fix long line

* updating DIRECTORY.md

* Add doctest

* ...

* ...

* Update tabu_search.py

* space

* 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]]

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: John Law <johnlaw.po@gmail.com>
2020-06-16 14:29:13 +02:00
..
binary_search.py Wrap lines that go beyond GitHub Editor (#1925) 2020-05-01 23:36:35 +02:00
fibonacci_search.py psf/black code formatting (#1421) 2019-10-22 19:13:48 +02:00
hill_climbing.py Fixes LGTM issues (#1745) 2020-02-10 22:23:19 +01:00
interpolation_search.py contribution guidelines checks (#1787) 2020-03-04 13:40:28 +01:00
jump_search.py Create codespell.yml (#1698) 2020-01-18 13:24:33 +01:00
linear_search.py Set the Python file maximum line length to 88 characters (#2122) 2020-06-16 10:09:19 +02:00
quick_select.py Update quick_select.py (#1523) 2019-10-30 16:10:30 +01:00
sentinel_linear_search.py contribution guidelines checks (#1787) 2020-03-04 13:40:28 +01:00
simple-binary-search.py create simple binary search (#1430) 2019-10-24 10:31:58 +02:00
simulated_annealing.py Set the Python file maximum line length to 88 characters (#2122) 2020-06-16 10:09:19 +02:00
tabu_search.py Fix long line, tests (#2123) 2020-06-16 14:29:13 +02:00
tabu_test_data.txt .txt instead of .py 2018-10-19 17:38:11 -05:00
ternary_search.py Tighten up psf/black and flake8 (#2024) 2020-05-22 08:10:11 +02:00