Click or drag to resize

IShiftSolverCallerUpdateShiftSolverStatus Method

If a Solver's SolverCaller property is set to an object which implements this interface then the Solver will call this method whenever it has something new to report.

Namespace:  SRS.ShiftSolver.Solvers
Assembly:  ShiftSolver (in ShiftSolver.dll) Version: 2.2.0.0
Syntax
void UpdateShiftSolverStatus(
	string message,
	Solution solution
)

Parameters

message
Type: SystemString
A message from the solver on its progress.
solution
Type: SRS.ShiftSolver.CoreSolution
The best solution found so far.
Remarks
The solver will be waiting while this method is executing so it is important to keep it fast and/or only execute more time-consuming functions in this method every 1000 millisecs or so.
See Also

www.staffrostersolutions.com | support