Preparing search index...
The search index is not available
data-structure-typed
data-structure-typed
IDirectedGraph
Interface IDirectedGraph<V, E>
Type Parameters
V
E
Hierarchy
IAbstractGraph
<
V
,
E
>
IDirectedGraph
Implemented by
DirectedGraph
Index
Methods
add
Edge
add
Vertex
degree
Of
edge
Set
edges
Of
get
Edge
get
Edge
Dest
get
Edge
Src
get
Min
Path
Between
get
Neighbors
has
Edge
has
Vertex
in
Degree
Of
incoming
Edges
Of
out
Degree
Of
outgoing
Edges
Of
remove
All
Vertices
remove
Edge
remove
Edge
Src
To
Dest
remove
Edges
Between
remove
Vertex
set
Edge
Weight
Methods
add
Edge
add
Edge
(
src
,
dest
,
weight
,
val
)
:
boolean
Parameters
src
:
VertexId
|
V
dest
:
VertexId
|
V
weight
:
number
val
:
E
Returns
boolean
add
Vertex
add
Vertex
(
id
,
val
?
)
:
boolean
Parameters
id
:
VertexId
Optional
val
:
V
Returns
boolean
degree
Of
degree
Of
(
vertexOrId
)
:
number
Parameters
vertexOrId
:
VertexId
|
V
Returns
number
edge
Set
edge
Set
(
)
:
E
[]
Returns
E
[]
edges
Of
edges
Of
(
vertexOrId
)
:
E
[]
Parameters
vertexOrId
:
VertexId
|
V
Returns
E
[]
get
Edge
get
Edge
(
srcOrId
,
destOrId
)
:
null
|
E
Parameters
srcOrId
:
VertexId
|
V
destOrId
:
VertexId
|
V
Returns
null
|
E
get
Edge
Dest
get
Edge
Dest
(
e
)
:
null
|
V
Parameters
e
:
E
Returns
null
|
V
get
Edge
Src
get
Edge
Src
(
e
)
:
null
|
V
Parameters
e
:
E
Returns
null
|
V
get
Min
Path
Between
get
Min
Path
Between
(
v1
,
v2
,
isWeight
?
)
:
null
|
V
[]
Parameters
v1
:
VertexId
|
V
v2
:
VertexId
|
V
Optional
isWeight
:
boolean
Returns
null
|
V
[]
get
Neighbors
get
Neighbors
(
vertexOrId
)
:
V
[]
Parameters
vertexOrId
:
VertexId
|
V
Returns
V
[]
has
Edge
has
Edge
(
src
,
dest
)
:
boolean
Parameters
src
:
VertexId
|
V
dest
:
VertexId
|
V
Returns
boolean
has
Vertex
has
Vertex
(
vertexOrId
)
:
boolean
Parameters
vertexOrId
:
VertexId
|
V
Returns
boolean
in
Degree
Of
in
Degree
Of
(
vertexOrId
)
:
number
Parameters
vertexOrId
:
VertexId
|
V
Returns
number
incoming
Edges
Of
incoming
Edges
Of
(
vertex
)
:
E
[]
Parameters
vertex
:
V
Returns
E
[]
out
Degree
Of
out
Degree
Of
(
vertexOrId
)
:
number
Parameters
vertexOrId
:
VertexId
|
V
Returns
number
outgoing
Edges
Of
outgoing
Edges
Of
(
vertex
)
:
E
[]
Parameters
vertex
:
V
Returns
E
[]
remove
All
Vertices
remove
All
Vertices
(
vertices
)
:
boolean
Parameters
vertices
:
VertexId
[]
|
V
[]
Returns
boolean
remove
Edge
remove
Edge
(
edge
)
:
null
|
E
Parameters
edge
:
E
Returns
null
|
E
remove
Edge
Src
To
Dest
remove
Edge
Src
To
Dest
(
srcOrId
,
destOrId
)
:
null
|
E
Parameters
srcOrId
:
VertexId
|
V
destOrId
:
VertexId
|
V
Returns
null
|
E
remove
Edges
Between
remove
Edges
Between
(
v1
,
v2
)
:
E
[]
Parameters
v1
:
VertexId
|
V
v2
:
VertexId
|
V
Returns
E
[]
remove
Vertex
remove
Vertex
(
vertexOrId
)
:
boolean
Parameters
vertexOrId
:
VertexId
|
V
Returns
boolean
set
Edge
Weight
set
Edge
Weight
(
srcOrId
,
destOrId
,
weight
)
:
boolean
Parameters
srcOrId
:
VertexId
|
V
destOrId
:
VertexId
|
V
weight
:
number
Returns
boolean
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
add
Edge
add
Vertex
degree
Of
edge
Set
edges
Of
get
Edge
get
Edge
Dest
get
Edge
Src
get
Min
Path
Between
get
Neighbors
has
Edge
has
Vertex
in
Degree
Of
incoming
Edges
Of
out
Degree
Of
outgoing
Edges
Of
remove
All
Vertices
remove
Edge
remove
Edge
Src
To
Dest
remove
Edges
Between
remove
Vertex
set
Edge
Weight
data-
structure-
typed
CP
Family
Position
Loop
Type
RBColor
Topological
Property
AVLTree
AVLTree
Node
Aa
Tree
Abstract
Binary
Tree
Abstract
Binary
Tree
Node
Abstract
Edge
Abstract
Graph
Abstract
Vertex
Array
Deque
BST
BSTNode
BTree
Binary
Indexed
Tree
Binary
Tree
Binary
Tree
Node
Character
Coordinate
Map
Coordinate
Set
Deque
Directed
Edge
Directed
Graph
Directed
Vertex
Doubly
Linked
List
Doubly
Linked
List
Node
Hash
Map
Hash
Table
Hash
Table
Node
Heap
Heap
Item
Linked
List
Queue
Map
Edge
Map
Graph
Map
Vertex
Matrix2D
MatrixNTI2D
Max
Heap
Max
Priority
Queue
Min
Heap
Min
Priority
Queue
Navigator
Object
Deque
Pair
Priority
Queue
Queue
RBTree
RBTree
Node
Segment
Tree
Segment
Tree
Node
Singly
Linked
List
Singly
Linked
List
Node
Skip
List
Skip
List
Node
Splay
Tree
Stack
Tree
Map
Tree
Multiset
Tree
Multiset
Node
Tree
Node
Tree
Set
Trie
Trie
Node
Two
Three
Tree
Undirected
Edge
Undirected
Graph
Undirected
Vertex
Vector2D
IAVLTree
IAbstract
Binary
Tree
IAbstract
Binary
Tree
Node
IAbstract
Graph
IBST
IDirected
Graph
IRBTree
IUNDirected
Graph
AVLTree
Node
Nested
AVLTree
Options
Abstract
Binary
Tree
Node
Nested
Abstract
Binary
Tree
Node
Properties
Abstract
Binary
Tree
Node
Property
Abstract
Binary
Tree
Options
BSTComparator
BSTNode
Nested
BSTOptions
Binary
Tree
Deleted
Result
Binary
Tree
Node
Id
Binary
Tree
Node
Nested
Binary
Tree
Node
Property
Name
Binary
Tree
Options
DFSOrder
Pattern
Dijkstra
Result
Direction
Dummy
Any
Edge
Id
Hash
Function
Heap
Options
IAVLTree
Node
IBSTNode
IBinary
Tree
IBinary
Tree
Node
IRBTree
Node
ITree
Multiset
ITree
Multiset
Node
Key
Value
Object
Key
Value
Object
With
Id
Map
Graph
Coordinate
Navigator
Params
Node
Or
Property
Name
Non
Number
Non
Object
But
Defined
Object
With
Non
Number
Id
Object
With
Number
Id
Object
Without
Id
Priority
Queue
Comparator
Priority
QueueDFSOrder
Pattern
Priority
Queue
Options
RBTree
Node
Nested
RBTree
Options
Restrict
Val
By
Id
Segment
Tree
Node
Val
Specify
Optional
Thunk
To
Thunk
Fn
Topological
Status
Tree
Multiset
Node
Nested
Tree
Multiset
Options
Trl
Async
Fn
Trl
Fn
Turning
Vertex
Id
THUNK_
SYMBOL
array
Remove
is
Thunk
to
Thunk
trampoline
trampoline
Async
uuid
V4
Generated using
TypeDoc