Show / Hide Table of Contents

Interface IProcessor

This interface must be implemented by all classes that process (or execute/evaluate) DecisionModels

Namespace: Quantellia.WMServer.Execution
Assembly: WMServer.dll
Syntax
public interface IProcessor

Properties

Engine

Declaration
object Engine { get; set; }
Property Value
Type Description
object

Methods

Constraints()

Tests user specified constraints

Declaration
Task<bool> Constraints()
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
Type Name Description
object compiled
EvaluationArgs args
WMProcessor proc
WMPrincipal principal
Returns
Type Description
Task<ElementValue>

Run(EvaluationArgs, WMProcessor)

Declaration
Task<ElementValue> Run(EvaluationArgs args, WMProcessor proc)
Parameters
Type Name Description
EvaluationArgs args
WMProcessor proc
Returns
Type Description
Task<ElementValue>

Stop()

Checks if the simulation has reached a stopping condition

Declaration
Task<bool> Stop()
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
Type Description
Task<Dictionary<string, object>>
In this article
Back to top Copyright © 2025 Quantellia LLC.    Version 2.0.0 Revision 399     Last Updated 1/15/2025    DRAFT DOCUMENTATION. SUBJECT TO CHANGE