Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
IIterativeEvaluator.cs
1using System.Threading.Tasks;
3
4namespace Waher.Script.Model
5{
10 public interface IIterativeEvaluator
11 {
16
20 bool UsesElement { get; }
21
27
32 bool IsAsynchronous { get; }
33
42
51
56 }
57}
Base class for all types of elements.
Definition: Element.cs:14
Collection of variables.
Definition: Variables.cs:25
Basic interface for all types of elements.
Definition: IElement.cs:21
An interative evaluator of a function supporting the IIterativeEvaluation interface.
bool IsAsynchronous
If the evaluator include asynchronous evaluation. Asynchronous evaluators should be evaluated using E...
IElement GetAggregatedResult()
Gets the aggregated result.
Task< IElement > EvaluateAsync(Variables Variables)
Evaluates the evaluator, using the variables provided in the Variables collection and an object inst...
IElement Evaluate(Variables Variables)
Evaluates the evaluator, using the variables provided in the Variables collection and an object inst...
bool UsesElement
If the evaluator uses the current element in its aggregate evaluation.
void AggregateElement(IElement Element)
Aggregates one new element.
void RestartEvaluator()
Restarts the evaluator.