Internal dispatcher base class.
The internal dispatcher base class. Internal dispatchers are derived from this base class. The internal dispatcher can be used to dispatch simple tasks locally without going through the whole framework. The optimization will be run entirely within the application. This can be useful for evaluating algorithms on numerical problems for example. See for a generic implementation of an internal dispatcher see Optimization.Dispatcher.Internal.Internal. Implementations need to implement at least Optimization.Dispatcher.Internal.Evaluate.
Namespace: Optimization.Dispatcher.Internal
Assembly: Optimization (in Optimization.dll)
See Also: Inherited members from object.
⊟ Public Constructors
Dispatcher ()Default constructor. ⊟ Public Properties
⊟ Public Methods
abstractEvaluate (Solution) : Dictionary<string, double> Evaluate solution. staticGetDescription (Type) : string Dispatcher description. staticGetName (Type) : string Dispatcher name.Initialize (Job) Initialize dispatcher.
⊟ Dispatcher Constructor
Default constructor.
public Dispatcher ()⊟ Remarks
Default constructor.⊟ Requirements
Namespace: Optimization.Dispatcher.Internal
Assembly: Optimization (in Optimization.dll)
⊟ Evaluate Method
Evaluate solution.
public abstract Dictionary<string, double> Evaluate (Optimization.Solution solution)⊟ Parameters
- solution
- The solution.
⊟ Returns
A dictionary of fitness values.⊟ Remarks
Evaluate a solution. This is the main method that needs to be implemented by all internal dispatchers. The result is a dictionary containing one or more fitness values.⊟ Requirements
Namespace: Optimization.Dispatcher.Internal
Assembly: Optimization (in Optimization.dll)
⊟ GetDescription Method
Dispatcher description.
⊟ Parameters
- type
- The dispatcher type.
⊟ Returns
Dispatcher description.⊟ Remarks
Get the dispatcher description.⊟ Requirements
Namespace: Optimization.Dispatcher.Internal
Assembly: Optimization (in Optimization.dll)
⊟ GetName Method
Dispatcher name.
⊟ Parameters
- type
- Dispatcher type.
⊟ Returns
Dispatcher name.⊟ Remarks
Get the dispatcher name.⊟ Requirements
Namespace: Optimization.Dispatcher.Internal
Assembly: Optimization (in Optimization.dll)
⊟ Initialize Method
Initialize dispatcher.
public virtual void Initialize (Optimization.Job job)⊟ Parameters
- job
- The job.
⊟ Remarks
Initialize the dispatcher for the given job.⊟ Requirements
Namespace: Optimization.Dispatcher.Internal
Assembly: Optimization (in Optimization.dll)
⊟ Job Property
The job.
public Optimization.Job Job { get; }⊟ Value
The job.⊟ Remarks
Get the job.⊟ Requirements
Namespace: Optimization.Dispatcher.Internal
Assembly: Optimization (in Optimization.dll)