Show / Hide Table of Contents

Interface ISolver<TWeight, TProblem, TObjective, TSolution, TFitness>

Abstract representation of a solver.

Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public interface ISolver<TWeight, TProblem, TObjective, TSolution, TFitness>
    where TObjective : ObjectiveBase<TProblem, TSolution, TFitness>
Type Parameters
TWeight

TProblem

TObjective

TSolution

TFitness

Properties

Name

Returns the name of this solver.

Declaration
string Name { get; }
Property Value
System.String

Methods

Solve(TProblem, TObjective)

Solves the given problem.

Declaration
TSolution Solve(TProblem problem, TObjective objective)
Parameters
TProblem problem

TObjective objective

Returns
TSolution

Solve(TProblem, TObjective, out TFitness)

Solves the given problem.

Declaration
TSolution Solve(TProblem problem, TObjective objective, out TFitness fitness)
Parameters
TProblem problem

TObjective objective

TFitness fitness

Returns
TSolution

Stop()

Stops the executing of the solving process.

Declaration
void Stop()

Events

IntermidiateResult

Raised when an intermidiate result is available.

Declaration
event SolverDelegates.IntermidiateDelegate<TSolution> IntermidiateResult
Event Type
SolverDelegates.IntermidiateDelegate<TSolution>

Back to top Built by Itinero, MIT licensed.