IShift Solver Interface
An interface implemented by solvers.
Definition
Namespace: SRS.ShiftSolver.Solvers
Assembly: ShiftSolver (in ShiftSolver.dll) Version: 2.3.0+2c0a765360648175f37b32b9a08ecd256c911c4c
Assembly: ShiftSolver (in ShiftSolver.dll) Version: 2.3.0+2c0a765360648175f37b32b9a08ecd256c911c4c
C#
public interface IShiftSolverVB
Public Interface IShiftSolverC++
public interface class IShiftSolverF#
type IShiftSolver = interface endProperties
| PauseEvent | Gets or sets a ManualResetEvent which allows the solver to be paused if it is being run in a separate thread. |
| RandomSeed | Gets or sets the random seed value used by the solver. |
| SolverCaller | It is recommended to instead use the ShiftSolverStatusUpdated event to receive feedback from the solver as it is solving. Gets or sets the SolverCaller for the solver. If the SolverCaller is set the solver will call the SolverCaller.UpdateSolverStatus() method when it has something new to report during solving. |
| Stopped | If this is set to true while the solver is running the solver stops and returns the best solution found so far. |
| Title | Gets a title/label for the solver. |
| TotalEvaluations | Gets the number of individual solutions evaluated by the solver. (NB this is not possible to count for all solvers and depends on the type of algorithms used). |
Methods
| Solve | Builds and improves the solution. |
Events
| ShiftSolverStatusUpdated | Occurs when the the solver has new information to feedback. |