Skip to content

Commit be3cb4b

Browse files
committed
Update comment in AO
1 parent e878d53 commit be3cb4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mealpy/swarm_based/AO.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ class AAO(Optimizer):
121121
>>> "minmax": "min",
122122
>>> }
123123
>>>
124-
>>> model = AO.AAO(epoch=1000, pop_size=50)
124+
>>> model = AO.AAO(epoch=1000, pop_size=50, sharpness=10.0, sigmoid_midpoint=0.5)
125125
>>> g_best = model.solve(problem_dict)
126126
>>> print(f"Solution: {g_best.solution}, Fitness: {g_best.target.fitness}")
127127
>>> print(f"Solution: {model.g_best.solution}, Fitness: {model.g_best.target.fitness}")

0 commit comments

Comments
 (0)