Class DefaultBestSolutionChangedEvent<Solution_>
java.lang.Object
ai.timefold.solver.core.api.solver.event.BestSolutionChangedEvent<Solution_>
ai.timefold.solver.core.impl.solver.event.DefaultBestSolutionChangedEvent<Solution_>
public final class DefaultBestSolutionChangedEvent<Solution_>
extends BestSolutionChangedEvent<Solution_>
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultBestSolutionChangedEvent(@NonNull Solver<Solution_> solver, EventProducerId eventProducerId, long timeMillisSpent, @NonNull Solution_ newBestSolution, @NonNull InnerScore newBestScore) -
Method Summary
Methods inherited from class ai.timefold.solver.core.api.solver.event.BestSolutionChangedEvent
getNewBestScore, getNewBestSolution, getProducerId, getTimeMillisSpent, isEveryProblemChangeProcessed, isEveryProblemFactChangeProcessed, isNewBestSolutionInitialized
-
Constructor Details
-
DefaultBestSolutionChangedEvent
public DefaultBestSolutionChangedEvent(@NonNull Solver<Solution_> solver, EventProducerId eventProducerId, long timeMillisSpent, @NonNull Solution_ newBestSolution, @NonNull InnerScore newBestScore)
-
-
Method Details
-
getUnassignedCount
public int getUnassignedCount()
-