Interface TerminationRuntimeConfig
public interface TerminationRuntimeConfig
Translated into Timefold's
TerminationConfig at startup.-
Method Summary
Modifier and TypeMethodDescriptionTerminates the solver when a specific or higher score has been reached.Configuration properties for the diminished returns termination.How long the solver can run.How long the solver can run without finding a new best solution after finding a new best solution.
-
Method Details
-
spentLimit
-
unimprovedSpentLimit
-
bestScoreLimit
Terminates the solver when a specific or higher score has been reached. For example: "0hard/-1000soft" terminates when the best score changes from "0hard/-1200soft" to "0hard/-900soft". Wildcards are supported to replace numbers. For example: "0hard/*soft" to terminate when any feasible score is reached. -
diminishedReturns
Optional<DiminishedReturnsRuntimeConfig> diminishedReturns()Configuration properties for the diminished returns termination.
-