Class

epic.trees

BinaryTree

Related Doc: package trees

Permalink

case class BinaryTree[+L](label: L, leftChild: BinarizedTree[L], rightChild: BinarizedTree[L], span: Span) extends BinarizedTree[L] with Product with Serializable

Linear Supertypes
Product, Equals, BinarizedTree[L], Tree[L], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BinaryTree
  2. Product
  3. Equals
  4. BinarizedTree
  5. Tree
  6. Serializable
  7. Serializable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BinaryTree(label: L, leftChild: BinarizedTree[L], rightChild: BinarizedTree[L], span: Span)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def allChildren: Iterator[BinaryTree[L]]

    Permalink
    Definition Classes
    BinaryTreeTree
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def begin: Int

    Permalink
    Definition Classes
    Tree
  7. def children: IndexedSeq[BinarizedTree[L]]

    Permalink
    Definition Classes
    BinaryTreeTree
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  9. def cutLeaves: (Tree[L], IndexedSeq[L])

    Permalink

    Useful for stripping the words out of a tree Returns (tree without leaves, leaves)

    Useful for stripping the words out of a tree Returns (tree without leaves, leaves)

    Definition Classes
    Tree
  10. def end: Int

    Permalink
    Definition Classes
    Tree
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def extend[B](f: (Tree[L]) ⇒ B): BinaryTree[B]

    Permalink
    Definition Classes
    BinaryTreeBinarizedTreeTree
  13. def findSpan(begin: Int, end: Int): Option[Tree[L]]

    Permalink
    Definition Classes
    BinarizedTree
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def isLeaf: Boolean

    Permalink
    Definition Classes
    Tree
  17. def isValid: Boolean

    Permalink

    A tree is valid if this' span contains all children's spans and each child abuts the next one.

    A tree is valid if this' span contains all children's spans and each child abuts the next one.

    Definition Classes
    Tree
  18. val label: L

    Permalink
    Definition Classes
    BinaryTreeTree
  19. def leaves: Iterable[Tree[L]]

    Permalink
    Definition Classes
    Tree
  20. val leftChild: BinarizedTree[L]

    Permalink
  21. def leftHeight: Int

    Permalink
    Definition Classes
    Tree
  22. def map[M](f: (L) ⇒ M): BinaryTree[M]

    Permalink
    Definition Classes
    BinaryTreeBinarizedTreeTree
  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  26. def postorder: Iterator[BinaryTree[L]]

    Permalink
    Definition Classes
    BinaryTreeTree
  27. def preorder: Iterator[BinaryTree[L]]

    Permalink
    Definition Classes
    BinaryTreeTree
  28. def relabelRoot[B >: L](f: (L) ⇒ B): BinarizedTree[B]

    Permalink
    Definition Classes
    BinaryTreeBinarizedTreeTree
  29. def render[W](words: Seq[W], newline: Boolean = true): String

    Permalink
    Definition Classes
    Tree
  30. val rightChild: BinarizedTree[L]

    Permalink
  31. val span: Span

    Permalink
    Definition Classes
    BinaryTreeTree
  32. def splitPoint: Int

    Permalink
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  34. def toString(newline: Boolean): String

    Permalink
    Definition Classes
    Tree
  35. def toString(): String

    Permalink
    Definition Classes
    Tree → AnyRef → Any
  36. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Product

Inherited from Equals

Inherited from BinarizedTree[L]

Inherited from Tree[L]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped