Class EmptyOperator<TWeight, TProblem, TObjective, TSolution, TFitness>
An empty operator that does nothing.
Inheritance
System.Object
EmptyOperator<TWeight, TProblem, TObjective, TSolution, TFitness>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public class EmptyOperator<TWeight, TProblem, TObjective, TSolution, TFitness> : IOperator<TWeight, TProblem, TObjective, TSolution, TFitness> where TWeight : struct where TObjective : ObjectiveBase<TProblem, TSolution, TFitness>
Type Parameters
|
TWeight
|
|
TProblem
|
|
TObjective
|
|
TSolution
|
|
TFitness
|
Properties
Name
Returns the name of the operator.
Declaration
public string Name { get; }
Property Value
|
System.String
|
Implements
Methods
Apply(TProblem, TObjective, TSolution, out TFitness)
Returns true if there was an improvement, false otherwise.
Declaration
public bool Apply(TProblem problem, TObjective objective, TSolution solution, out TFitness delta)
Parameters
|
TProblem
problem
|
|
TObjective
objective
|
|
TSolution
solution
|
|
TFitness
delta
|
Returns
|
System.Boolean
|
Implements
Supports(TObjective)
Returns true if the given objective is supported.
Declaration
public bool Supports(TObjective objective)
Parameters
|
TObjective
objective
|
Returns
|
System.Boolean
|