Class BestSolutionEvent
java.lang.Object
ai.timefold.solver.service.definition.internal.events.AbstractEvent
ai.timefold.solver.service.definition.internal.events.AbstractDatasetEvent
ai.timefold.solver.service.definition.internal.events.SolverWorkerEvent
ai.timefold.solver.service.definition.internal.events.BestSolutionEvent
This event is sent when a new best solution is found during the solving process.
It can be used to monitor the progress of the solver and to take actions based on the best solution found so far.
-
Constructor Summary
ConstructorsConstructorDescriptionBestSolutionEvent(Metadata metadata, SolverModel model, ai.timefold.solver.core.api.solver.SolverJob job, String planName, String tenantName, String eventProducerId) -
Method Summary
Methods inherited from class SolverWorkerEvent
getEventProducerId, getJob, getModel, getPlanName, getTenantNameMethods inherited from class AbstractDatasetEvent
getMetadata, toStringMethods inherited from class AbstractEvent
getId
-
Constructor Details
-
BestSolutionEvent
public BestSolutionEvent(Metadata metadata, SolverModel model, ai.timefold.solver.core.api.solver.SolverJob job, String planName, String tenantName, String eventProducerId)
-