pharg
DirectedGraph
case class
DirectedGraph
[
V
]
(
vertices:
Set
[
V
]
,
edges:
Set
[
Edge
[
V
]]
)
extends
DirectedGraphLike
[
V
] with
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
DirectedGraphLike
[
V
],
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
DirectedGraph
Serializable
Serializable
Product
Equals
DirectedGraphLike
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
DirectedGraph
(
vertices:
Set
[
V
]
,
edges:
Set
[
Edge
[
V
]]
)
Type Members
type
E
=
Edge
[
V
]
Definition Classes
DirectedGraphLike
Value Members
final
def
!=
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
connectedComponents
(
continue: (
V
) ⇒
Iterable
[
V
]
)
:
Seq
[
Seq
[
V
]]
Definition Classes
DirectedGraphLike
def
connectedComponents
:
Seq
[
Seq
[
V
]]
Definition Classes
DirectedGraphLike
def
degree
(
v:
V
)
:
Int
Definition Classes
DirectedGraphLike
def
depthFirstSearch
(
start:
V
,
continue: (
V
) ⇒
Iterable
[
V
] =
successors
)
:
Iterator
[
V
] { ... /* 3 definitions in type refinement */ }
Definition Classes
DirectedGraphLike
val
edges
:
Set
[
Edge
[
V
]]
Definition Classes
DirectedGraph
→
DirectedGraphLike
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
filter
(
vp: (
V
) ⇒
Boolean
)
:
DirectedGraph
[
V
]
Definition Classes
DirectedGraphLike
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hasCycle
:
Boolean
Definition Classes
DirectedGraphLike
def
inDegree
(
v:
V
)
:
Int
Definition Classes
DirectedGraphLike
def
incidentEdges
(
vp: (
V
) ⇒
Boolean
)
:
Set
[
E
]
Definition Classes
DirectedGraphLike
def
incidentEdges
(
v:
V
)
:
Set
[
E
]
Definition Classes
DirectedGraphLike
lazy val
incomingEdges
:
Map
[
V
,
Set
[
E
]]
Definition Classes
DirectedGraphLike
def
inducedEdges
(
vp: (
V
) ⇒
Boolean
)
:
Set
[
E
]
Definition Classes
DirectedGraphLike
def
inducedSubGraph
(
vp: (
V
) ⇒
Boolean
)
:
DirectedGraph
[
V
]
Definition Classes
DirectedGraphLike
def
isComplete
:
Boolean
Definition Classes
DirectedGraphLike
def
isConnected
:
Boolean
Definition Classes
DirectedGraphLike
def
isEmpty
:
Boolean
Definition Classes
DirectedGraphLike
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
isIsomorphicTo
(
that:
DirectedGraphLike
[
V
]
)
:
Boolean
Definition Classes
DirectedGraphLike
def
isPlanar
:
Boolean
Definition Classes
DirectedGraphLike
def
isolatedVertices
:
Set
[
V
]
Definition Classes
DirectedGraphLike
def
m
:
Int
Definition Classes
DirectedGraphLike
def
n
:
Int
Definition Classes
DirectedGraphLike
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
neighbours
(
vp: (
V
) ⇒
Boolean
)
:
Set
[
V
]
Definition Classes
DirectedGraphLike
lazy val
neighbours
:
Map
[
V
,
Set
[
V
]]
Definition Classes
DirectedGraphLike
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
numElements
:
Int
Definition Classes
DirectedGraphLike
def
outDegree
(
v:
V
)
:
Int
Definition Classes
DirectedGraphLike
lazy val
outgoingEdges
:
Map
[
V
,
Set
[
E
]]
Definition Classes
DirectedGraphLike
lazy val
predecessors
:
Map
[
V
,
Set
[
V
]]
Definition Classes
DirectedGraphLike
def
reachable
(
a:
V
,
b:
V
)
:
Boolean
Definition Classes
DirectedGraphLike
def
stronglyConnectedComponents
:
Seq
[
Seq
[
V
]]
Definition Classes
DirectedGraphLike
def
subGraphOf
(
superGraph:
DirectedGraphLike
[
V
]
)
:
Boolean
Definition Classes
DirectedGraphLike
lazy val
successors
:
Map
[
V
,
Set
[
V
]]
Definition Classes
DirectedGraphLike
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
topologicalSort
:
List
[
V
]
Definition Classes
DirectedGraphLike
val
vertices
:
Set
[
V
]
Definition Classes
DirectedGraph
→
DirectedGraphLike
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
DirectedGraphLike
[
V
]
Inherited from
AnyRef
Inherited from
Any
Ungrouped