Preparing search index...
The search index is not available
data-structure-typed
data-structure-typed
UndirectedEdge
Class UndirectedEdge
Hierarchy
AbstractEdge
UndirectedEdge
Index
Constructors
constructor
Properties
_vertices
DEFAULT_
EDGE_
WEIGHT
Accessors
hash
Code
vertices
weight
Constructors
constructor
new
Undirected
Edge
(
v1
,
v2
,
weight
?
)
:
UndirectedEdge
Parameters
v1
:
VertexId
v2
:
VertexId
Optional
weight
:
number
Returns
UndirectedEdge
Properties
Private
_vertices
_vertices
:
[
VertexId
,
VertexId
]
Static
DEFAULT_
EDGE_
WEIGHT
DEFAULT_
EDGE_
WEIGHT
:
number
= 1
Accessors
hash
Code
get
hashCode
(
)
:
string
Returns
string
set
hashCode
(
v
)
:
void
Parameters
v
:
string
Returns
void
vertices
get
vertices
(
)
:
[
VertexId
,
VertexId
]
Returns
[
VertexId
,
VertexId
]
set
vertices
(
v
)
:
void
Parameters
v
:
[
VertexId
,
VertexId
]
Returns
void
weight
get
weight
(
)
:
number
Returns
number
set
weight
(
v
)
:
void
Parameters
v
:
number
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
_vertices
DEFAULT_
EDGE_
WEIGHT
hash
Code
vertices
weight
data-
structure-
typed
CP
Family
Position
Loop
Type
AVLTree
AVLTree
Node
Aa
Tree
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
Heap
Matrix2D
MatrixNTI2D
Max
Heap
Max
Priority
Queue
Min
Heap
Min
Priority
Queue
Navigator
Object
Deque
Priority
Queue
Queue
RBTree
Segment
Tree
Segment
Tree
Node
Singly
Linked
List
Singly
Linked
List
Node
Splay
Tree
Stack
Tree
Multi
Set
Trie
Trie
Node
Two
Three
Tree
Undirected
Edge
Undirected
Graph
Undirected
Vertex
Vector2D
Generated using
TypeDoc