Class DirectedEdgeBuilder<VertexIndex>
Constructors
constructor
Type parameters
Parameters
Properties
a
a: Int32Array
b
b: Int32Array
Private bucketFill
bucketFill: any
Private curA
curA: any
Private current
current: any
edgeCount
edgeCount: number
offsets
offsets: Int32Array
slotCount
slotCount: number
vertexCount
vertexCount: number
xs
ys
Methods
addAllEdges
Returns void
addNextEdge
Returns void
assignProperty
- assignProperty<T>(prop: {}, value: T): void
Type parameters
Parameters
Returns void
createGraph
- createGraph<EdgeProps>(edgeProps: EdgeProps): IntAdjacencyGraph<number, EdgeProps, unknown>
Type parameters
Parameters
Returns IntAdjacencyGraph<number, EdgeProps, unknown>
the size of the A and B arrays