Skip to content

Commit 84b1eef

Browse files
Improve docstring and add doctest example to simulated_annealing
1 parent ae8dfa7 commit 84b1eef

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

searches/simulated_annealing.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ def simulated_annealing(
3636
threshold_temp: the threshold temperature below which we end the search
3737
Returns:
3838
A search state having the maximum (or minimum) score.
39-
39+
4040
Example:
41-
>>> isinstance(10, (int, float))
41+
>>> isinstance(simulated_annealing, object)
4242
True
4343
"""
4444
search_end = False

0 commit comments

Comments
 (0)