2using System.Collections.Generic;
3using System.Threading.Tasks;
Root node of a simulation model
Represents an activity that can be executed as the result of triggered events.
static async Task ExecuteActivity(Variables Variables, LinkedListNode< IActivityNode > Start)
Executes an activity by executing a possibly branching sequence of nodes.
Abstract base class for activity nodes
LinkedListNode< IActivityNode > FirstNode
First child activity node.
Represents a thread in parallel execution.
override async Task< LinkedListNode< IActivityNode > > Execute(Variables Variables)
Executes a node.
override string LocalName
Local name of XML element defining contents of class.
override ISimulationNode Create(ISimulationNode Parent, Model Model)
Creates a new instance of the node.
Thread(ISimulationNode Parent, Model Model)
Represents a thread in parallel execution.
Basic interface for simulator nodes. Implementing this interface allows classes with default contruct...
ISimulationNode Parent
Parent node in the simulation model.