|
MATHVisualSimulator
A BPMN2 simulator for MATH
|
Inherits Simulator.BPNode.
Inherited by Simulator.BPProcess.
Public Types | |
| enum | SubType { None = 0, Service, Send, Receive, User, Manual, Rule, Script } |
Public Member Functions | |
| BPTask (Simulator sim, XmlNode x) | |
| string | getTimeSpentString () |
| string | getWaitTimeString () |
| string | getWaitCountString () |
| string | getWaitRatioString () |
| string | getEntryCountString () |
| override long | getDuration () |
| override int | getCost () |
| override long | getDelay () |
| override void | parseSimulationParameters (XmlNode x) |
| Parse simulation parameters for this node. | |
| override XmlElement | getSimulationXml (XmlDocument doc) |
| Create a simulation extension node from this BPNode. | |
| SubType | getSubtype () |
| override void | parse (XmlNode x) |
| Parse the main BPMN XML parameters into this node. | |
| override XmlElement | getSemanticXml (XmlDocument doc) |
| Create a BPMN semantic node from this BPNode. | |
| override void | finishParsing () |
| Finish up this node, after all the nodes have been created. | |
| override void | enter (Runner rr) |
| Enter a token into this node. | |
| override void | exit (Runner rr) |
| Exit a token from this node. | |
Public Attributes | |
| Dictionary< BPResource, int > | resources = new Dictionary<BPResource, int>() |
| IRandomVariable | duration = new ConstantRandomVariable() |
| IRandomVariable | cost = new ConstantRandomVariable() |
| IRandomVariable | delayV = new ConstantRandomVariable() |
| LinkedList< InfoItem > | infoInputs = new LinkedList<InfoItem>() |
| LinkedList< InfoItem > | infoOutputs = new LinkedList<InfoItem>() |
| const string | timeSpentBaseString = "time spent at task" |
| const string | entryCountBaseString = "entries into task" |
| const string | waitTimeBaseString = "wait time at task" |
| const string | waitCountBaseString = "wait count at task" |
| const string | waitRatioBaseString = "wait ratio at task" |
Properties | |
| new string | name [get, set] |
| string | duration_desc [get, set] |
| string | cost_desc [get, set] |
| string | delay_desc [get, set] |
| string[] | info_inputs [get] |
| string[] | info_outputs [get] |
| string[] | resourcesRequired [get] |
| override void Simulator.BPTask.enter | ( | Runner | rr | ) | [virtual] |
Enter a token into this node.
| rr | The token |
Reimplemented from Simulator.BPNode.
Reimplemented in Simulator.BPProcess.
| override void Simulator.BPTask.exit | ( | Runner | rr | ) | [virtual] |
Exit a token from this node.
| rr | The token |
Reimplemented from Simulator.BPNode.
Reimplemented in Simulator.BPProcess.
| override void Simulator.BPTask.finishParsing | ( | ) | [virtual] |
Finish up this node, after all the nodes have been created.
Reimplemented from Simulator.BPNode.
Reimplemented in Simulator.BPProcess.
| override int Simulator.BPTask.getCost | ( | ) | [virtual] |
Reimplemented from Simulator.BPNode.
| override long Simulator.BPTask.getDelay | ( | ) | [virtual] |
Reimplemented from Simulator.BPNode.
| override long Simulator.BPTask.getDuration | ( | ) | [virtual] |
Reimplemented from Simulator.BPNode.
| override XmlElement Simulator.BPTask.getSemanticXml | ( | XmlDocument | doc | ) | [virtual] |
Create a BPMN semantic node from this BPNode.
| doc | An XML Document object that will own the new BPMN node |
Reimplemented from Simulator.BPNode.
Reimplemented in Simulator.BPProcess.
| override XmlElement Simulator.BPTask.getSimulationXml | ( | XmlDocument | doc | ) | [virtual] |
Create a simulation extension node from this BPNode.
| doc | An XML Document object that will own the new simulation node |
Reimplemented from Simulator.BPNode.
| override void Simulator.BPTask.parse | ( | XmlNode | x | ) | [virtual] |
Parse the main BPMN XML parameters into this node.
| x | The BPMN XML node, from which parameters are to be taken. |
Reimplemented from Simulator.BPNode.
| override void Simulator.BPTask.parseSimulationParameters | ( | XmlNode | x | ) | [virtual] |
Parse simulation parameters for this node.
| x | The parameter to parse |
Reimplemented from Simulator.BPNode.
1.7.4