problemutils.classes.graphs.Tree
case class Tree[
V](
value:
V,
children:
Set[
Tree[
V]])
A simple recursive tree class.
Value parameters
-
children
-
The children of this node.
-
value
-
The value of this node.
Attributes
-
Graph
-
-
Supertypes
-
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Members list
Returns true if this tree is a subtree of another tree, false otherwise.
Returns true if this tree is a subtree of another tree, false otherwise.
Attributes
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
-
Returns
-
a string representation of the object.
-
Definition Classes
-
Any
Attributes
-
Inherited from:
-
Product
Attributes
-
Inherited from:
-
Product