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.
      Overrides:
      accept in class Node
      Parameters:
      visitor - - The visitor
      Throws:
      Exception - the visitor threw an exception.
    • getPrototypeFromParent

      public Element getPrototypeFromParent​(Element parent)
      Returns the #branchpoint property value of the parent argument.
      Overrides:
      getPrototypeFromParent in class Element
      Parameters:
      parent - - The parent element
      Returns:
      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
      Returns:
      the "name" property