Solver Class |
Namespace: VRSolver
The Solver type exposes the following members.
Name | Description | |
---|---|---|
![]() | MaximumSolveTime |
A maximum solving time for the solver. After this time the solver
will finish and return the best solution found so far.
|
![]() | RandomSeed |
A seed for the solver's random number generator.
|
![]() | SolverStatusReceiver | It is recommended to instead use the SolverStatusUpdated event to receive feedback from the solver as it is solving. Receives solving status information from the solver while it is running. |
![]() | Stop |
Set as true while the solver is running to stop the
solver and return the best known solution.
|
![]() | TotalSolutionsGenerated |
Total number of solution evaluations.
|
Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Solve(Problem) |
Solves the problem and returns the best known solution.
|
![]() | Solve(Solution) |
Solves the problem with an intial solution provided.
Providing a good intial solution can reduce solving time and produce
better solutions.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | SolverStatusUpdated |
Occurs when the the solver has new information to feedback to a
caller.
|