ProblemUtils
ProblemUtils
API
problemutils
classes
graphs
DisjointSets
DisjointSets
DynamicGraph
Edge
FiniteGraph
FiniteGraph
Graph
Graph
LazyGraph
LazyGraph
Path
ProceduralGraph
ProceduralGraph
Tree
Cardinal
Hex
Matrix
Matrix
extensions
ProblemUtils
/
problemutils
/
problemutils.classes
/
problemutils.classes.graphs
/
Graph
Graph
problemutils.classes.graphs.Graph
See the
Graph
companion object
trait
Graph
[
V
]
Attributes
Companion
object
Graph
Reset zoom
Hide graph
Show graph
Supertypes
class
Object
trait
Matchable
class
Any
Known subtypes
trait
DynamicGraph
[
V
]
class
LazyGraph
[
V
]
class
ProceduralGraph
[
V
]
class
FiniteGraph
[
V
]
Members list
Clear all
Value members
Abstract methods
def
diff
(
g
:
Graph
[
V
]):
Graph
[
V
]
def
edges
:
Set
[
Edge
[
V
]]
def
edgesFrom
:
Map
[
V
,
Set
[
Edge
[
V
]]]
def
edgesTo
:
Map
[
V
,
Set
[
Edge
[
V
]]]
def
excl
(
e
:
Edge
[
V
]):
Graph
[
V
]
def
filterEdges
(
p
:
Edge
[
V
]
=>
Boolean
):
Graph
[
V
]
def
filterVertices
(
p
:
V
=>
Boolean
):
Graph
[
V
]
def
incl
(
e
:
Edge
[
V
]):
Graph
[
V
]
def
intersect
(
g
:
Graph
[
V
]):
Graph
[
V
]
def
union
(
g
:
Graph
[
V
]):
Graph
[
V
]
def
vertices
:
Set
[
V
]
Concrete methods
def
&
(
g
:
Graph
[
V
]):
Graph
[
V
]
def
+
(
e
:
Edge
[
V
]):
Graph
[
V
]
def
-
(
e
:
Edge
[
V
]):
Graph
[
V
]
def
\
(
g
:
Graph
[
V
]):
Graph
[
V
]
def
allPathsFrom
(
start
:
V
):
Set
[
Path
[
V
]]
def
apply
(
v
:
V
):
Set
[
V
]
def
apply
(
a
:
V
,
b
:
V
):
Option
[
Double
]
def
reachableFrom
(
start
:
V
):
Set
[
V
]
def
shortestPath
(
start
:
V
,
end
:
V
,
heuristic
:
V
=>
Double
):
Option
[
Path
[
V
]]
def
shortestPathUntil
(
start
:
V
,
endPred
:
V
=>
Boolean
,
heuristic
:
V
=>
Double
):
Option
[
Path
[
V
]]
def
|
(
g
:
Graph
[
V
]):
Graph
[
V
]
In this article
Attributes
Members list
Value members
Abstract methods
Concrete methods