Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions brkga_mp_ipr_java/src/main/java/brkga/BrkgaMpIpr.java
Original file line number Diff line number Diff line change
Expand Up @@ -249,9 +249,9 @@ public BrkgaMpIpr(Brkga brkga, Decoder decoder, Sense sense, int seed,
/**
* Adds a callback called when the best solution is improved.
*
* <p>The observer receives an {@link AlgorithmStatus} and returns {@code true} if
* the algorithm should stop immediately. You may add as many observers as you
* want; they are called in the order they are added.
* <p>The observer receives an {@link AlgorithmStatus} and returns {@code true} to
* keep the optimization running, or {@code false} to stop it immediately. You may
* add as many observers as you want; they are called in the order they are added.
*
* @param observer the {@link NewSolutionObserver} callback to be invoked on each
* improvement of the best solution.
Expand Down
Loading