Class DefaultBestSolutionChangedEvent<Solution_>
java.lang.Object
java.util.EventObject
ai.timefold.solver.core.api.solver.event.BestSolutionChangedEvent<Solution_>
ai.timefold.solver.core.impl.solver.event.DefaultBestSolutionChangedEvent<Solution_>
- All Implemented Interfaces:
Serializable
public final class DefaultBestSolutionChangedEvent<Solution_>
extends BestSolutionChangedEvent<Solution_>
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionDefaultBestSolutionChangedEvent(@NonNull Solver<Solution_> solver, long timeMillisSpent, @NonNull Solution_ newBestSolution, @NonNull InnerScore newBestScore) -
Method Summary
Methods inherited from class ai.timefold.solver.core.api.solver.event.BestSolutionChangedEvent
getNewBestScore, getNewBestSolution, getTimeMillisSpent, isEveryProblemChangeProcessed, isEveryProblemFactChangeProcessed, isNewBestSolutionInitializedMethods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
DefaultBestSolutionChangedEvent
public DefaultBestSolutionChangedEvent(@NonNull Solver<Solution_> solver, long timeMillisSpent, @NonNull Solution_ newBestSolution, @NonNull InnerScore newBestScore)
-
-
Method Details
-
getUnassignedCount
public int getUnassignedCount()
-