Tree

ninetynine.P55.Tree
See theTree companion class
object Tree

Attributes

Companion
class
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Tree.type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def cBalanced[T](n: Int, value: T): List[Tree[T]]

Attributes

Returns

the List of all balanced binary trees for the given number of nodes.

def fromList[T : Ordering](list: List[T]): Tree[T]

Attributes

Returns

the Tree from the given List.