problemutils.classes.graphs
Members list
Type members
Classlikes
A generic mutable implementation of the disjoint sets data structure.
A generic mutable implementation of the disjoint sets data structure.
Value parameters
- nodes
-
all the vertices currently tracked by this data structure
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
DisjointSets.type
Attributes
- Supertypes
- Known subtypes
-
class LazyGraph[V]class ProceduralGraph[V]
A simple generic edge class. Can represent either a directed or an undirected edge, and so has both from
/ to
vertex parameters, as well as u
and v
value members for easy disambiguation.
A simple generic edge class. Can represent either a directed or an undirected edge, and so has both from
/ to
vertex parameters, as well as u
and v
value members for easy disambiguation.
Value parameters
- from
-
the source vertex
- to
-
the destination vertex
- u
-
alias for
from
- v
-
alias for
to
- weight
-
the cost of traveling along this edge, defaults to 1 if not provided
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
FiniteGraph.type
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Companion
- object
- Supertypes
Value parameters
- cost
-
the total cost of the path
- vertices
-
the ordered sequence of vertices making up the path
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- object
- Supertypes
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ProceduralGraph.type
A simple recursive tree class.
A simple recursive tree class.
Value parameters
- children
-
The children of this node.
- value
-
The value of this node.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all