10. Events Tree
Events Tree
Description
Events Tree allow to create diagrams which an event (scenario) is analyzed using Boolean logic to examine a chronological series of subsequent consequences of initial event, including the calculation of the probability of the scenario and his consequences.
Events Tree Documentation
Events Tree XML Specification
Below you can see all variables that are used to describe event tree in XML.
EventTree Field
id - identifier of Event Tree
InitialBranch - contains all the information needed to create a tree
InitialBranch Field
type - did the event happen or not (values "true" or "false")
child - optional section, occurs only when the branch has a child (InitialBranch always has children), has identical structure as InitialBranch
event - event description section, detailed description later in this document
id - edge identifier
InitialBranch field have the same structure as any other edge.
Fig 1. EventTree from InitialBranch
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <eventTree xmlns:ns2="pl.wroc.pw.sa.et.EventTree"> <id>1</id> <InitialBranch> <branch>true</branch> <child> ... </child> <child> ... </child> <event> ... </event> <id>7</id> <type>true</type> </InitialBranch> </eventTree>
Event
Event stores informations about him on each branch.
Event Field
event id
name
child - our event child, saved in the same way as his parent.
Trapezoid Field
name
parameters
Parameters
scale (LINEAR or LOGARITHMIC)
type
fuzzy function parameters: a, b, c and d
length
probability
Fig.2 Event without child
<event> <trapezoid> <name>nn</name> <parameters> <scale>LINEAR</scale> <a>0.5</a> <b>0.5</b> <c>0.5</c> <d>0.5</d> <length>0.0</length> <prob>0.0</prob> </parameters> </trapezoid> <id>5</id> <name>e6</name> </event>
Fig.3 Event with child
<event> <trapezoid> <name>nn</name> <parameters> <scale>LINEAR</scale> <a>0.5</a> <b>0.5</b> <c>0.5</c> <d>0.5</d> <length>0.0</length> <prob>0.0</prob> </parameters> </trapezoid> <child> <trapezoid> <name>nn</name> <parameters> <scale>LINEAR</scale> <a>0.5</a> <b>0.5</b> <c>0.5</c> <d>0.5</d> <length>0.0</length> <prob>0.0</prob> </parameters> </trapezoid> <id>5</id> <name>e6</name> </child> <id>4</id> <name>e5</name> </event>