Packages

class TreeNode[TLabel] extends AnyRef

The TreeNode class is for a node in a tree.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TreeNode
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TreeNode(nid: Int, lev: Int, label: TLabel, colr: Color = null, ord: Int = 0)(implicit arg0: ClassTag[TLabel])

    nid

    the unique identifier for the node

    lev

    the level of the node in the tree

    label

    the node/incoming edge label

    colr

    the color of the node

    ord

    the birth order

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val child: ArrayBuffer[TreeNode[TLabel]]
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  7. var colr: Color
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def isAncestor(n: TreeNode[TLabel]): Boolean

    Check if 'this' node is an ancestor of node 'n'.

    Check if 'this' node is an ancestor of node 'n'.

    n

    target node

  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def isLeaf: Boolean

    Determine whether 'this' node is a leaf.

  16. var label: TLabel
  17. def leftSibling: TreeNode[TLabel]

    Return the left sibling of 'this' node.

  18. val lev: Int
  19. val loc: R2
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. val nid: Int
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. var ord: Int
  25. var parent: TreeNode[TLabel]
  26. def rightSibling: TreeNode[TLabel]

    Return the right sibling of 'this' node.

  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String

    Convert a tree node to a string.

    Convert a tree node to a string.

    Definition Classes
    TreeNode → AnyRef → Any
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped