implicit final class TransactionTreeOps extends AnyVal
- Alphabetic
- By Inheritance
- TransactionTreeOps
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new TransactionTreeOps(tree: TransactionTree)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def childNodeIds(exercised: ExercisedEvent): List[Int]
Computes the children nodes of an exercised event.
Computes the children nodes of an exercised event. It finds the candidate nodes that could be children of the event given (i.e. its descendants). Then it repeatedly finds from the candidates the one with the lowest id and adds it to its children and removes the child's descendants from the list with the candidates. A node can be considered a child of another node if there are not any intermediate descendants between its parent and itself. There is no guarantee that the child was a child of its parent in the original transaction tree (i.e. before filtering out events from the original transaction tree).
- exercised
the exercised event
- returns
the children's node ids
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def rootNodeIds(): List[Int]
Computes the node ids of the root nodes (i.e.
Computes the node ids of the root nodes (i.e. the nodes that do not have any ancestors). A node can be considered a root if there are not any ancestors of it. There is no guarantee that the root node was also a root in the original transaction tree (i.e. before filtering out events from the original transaction tree).
- returns
the root node ids
- def toString(): String
- Definition Classes
- Any
- val tree: TransactionTree