Class BranchPoint

All Implemented Interfaces:
Serializable, Cloneable

public class BranchPoint
extends AbstractLocation
BranchPoint splits an edge into several probabilistic branches. Branch-point looks like a nail but acts like a location syntactically (semantically there is no location).
See Also:
Serialized Form
  • Constructor Details

  • Method Details

    • accept

      public void accept​(Visitor visitor) throws Exception
      Description copied from class: Element
      Accept a visitor. This method is specialized in every subclass. Part of the visitor pattern.
      accept in class Node
      visitor - - The visitor
      Exception - the visitor threw an exception.
    • getPrototypeFromParent

      public Element getPrototypeFromParent​(Element parent)
      Returns the #branchpoint property value of the parent argument.
      getPrototypeFromParent in class Element
      parent - - The parent element
      The property element
    • getName

      public String getName()
      Description copied from class: AbstractLocation
      Constructs a human-friendly name of this location. Basically it is the value of the "name" property, except that it will give a unicode symbol in case it is anonymous.
      Specified by:
      getName in class AbstractLocation
      the "name" property