Click or drag to resize

Solver Class

The solver solves a Problem instance and returns a new Solution.
Inheritance Hierarchy
SystemObject
  SRS.ScheduleSolver.SolversSolver

Namespace:  SRS.ScheduleSolver.Solvers
Assembly:  ScheduleSolver (in ScheduleSolver.dll) Version: 2.5.0+32c9446bcdf252a58ba748c312939f5bd2f367a8
Syntax
public class Solver

The Solver type exposes the following members.

Constructors
  NameDescription
Public methodSolver
Initialises a new instance of the Solver class.
Top
Properties
  NameDescription
Public propertyMaximumSolveTime
A maximum solving time for the solver. After this time the solver will finish and return the best solution found so far.
Public propertyMaxIterations
Set to zero for no limit (just used for testing).
Public propertyRandomSeed
A seed for the solver's random number generator.
Public propertyStatus
Indicates the status of the last solving attempt.
Public propertyStop
If this is set to true while the Solve method is executing then the solver will stop and return the best solution found so far.
Public propertyTotalEvaluations
Total number of solution evaluations.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSolve
Solves the problem using the solution given as an intial solution as the starting point for the solver. Using a good intial solution can reduce solving time and result in better solutions.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventSolverStatusUpdated
Occurs when the the solver has new information to feedback to a caller.
Top
See Also

www.staffrostersolutions.com | support