Class RandomSolver<TObjective>
A solver that generates random solutions.
Inheritance
System.Object
RandomSolver<TObjective>
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public sealed class RandomSolver<TObjective> : SolverBase<float, TSPTWProblem, TObjective, Tour, float> where TObjective : ObjectiveBase<TSPTWProblem, Tour, float>
Type Parameters
|
TObjective
|
Properties
Name
Returns the name of this solver.
Declaration
public override string Name { get; }
Property Value
|
System.String
|
Methods
Solve(TSPTWProblem, TObjective, out Single)
Solves the given problem.
Declaration
public override sealed Tour Solve(TSPTWProblem problem, TObjective objective, out float fitness)
Parameters
|
TSPTWProblem
problem
|
|
TObjective
objective
|
|
System.Single
fitness
|
Returns
|
Tour
|