ISolverCallerUpdateSolverStatus 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.

Definition

Namespace: ASAP.NRP.Solvers
Assembly: NRP (in NRP.dll) Version: 3.49.0+964b2dfb493dfda37da83e5373992cb1cc934e98
C#
void UpdateSolverStatus(
	string message,
	Roster roster
)

Parameters

message  String
A message from the solver on its progress.
roster  Roster
The best roster 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