Class EdgeBuilder<VertexIndex>
Constructors
constructor
Type parameters
Parameters
Properties
a
b
Private bucketFill
bucketFill: any
Private curA
curA: any
Private curB
curB: 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, Props>(edgeProps: EdgeProps, props?: Props): IntAdjacencyGraph<VertexIndex, EdgeProps, Props>
Type parameters
Parameters
edgeProps: EdgeProps
Optional props: Props
Returns IntAdjacencyGraph<VertexIndex, EdgeProps, Props>
the size of the A and B arrays