Interface IProcessor
This interface must be implemented by all classes that process (or execute/evaluate) DecisionModels
Assembly: WMServer.dll
Syntax
public interface IProcessor
Properties
Engine
Declaration
object Engine { get; set; }
Property Value
Methods
Constraints()
Tests user specified constraints
Declaration
Returns
Type |
Description |
Task<bool> |
true if constraints are satisfied, false if a constraint is broken
|
Init(object, EvaluationArgs, WMProcessor, WMPrincipal)
Declaration
Task<ElementValue> Init(object compiled, EvaluationArgs args, WMProcessor proc, WMPrincipal principal)
Parameters
Returns
Run(EvaluationArgs, WMProcessor)
Declaration
Task<ElementValue> Run(EvaluationArgs args, WMProcessor proc)
Parameters
Returns
Stop()
Checks if the simulation has reached a stopping condition
Declaration
Returns
Type |
Description |
Task<bool> |
true if the simulation has stopped, false otherwise
|
UpdateArgs()
Updates internal arguments with a user specified sampling algorithm
Declaration
Task<Dictionary<string, object>> UpdateArgs()
Returns