Class Builder<UnitId, VertexIndex, EdgeProps>
Type parameters
UnitId: number
VertexIndex: number
Constructors
constructor
Type parameters
UnitId: number
VertexIndex: number
Properties
Private linkCount
linkCount: any
Private linkedA
linkedA: any
Private linkedB
linkedB: any
Private map
map: any
Private mapAB
mapAB: any
Private mapBA
mapBA: any
Private uA
uA: any
Private uB
uB: any
Methods
add
- add(indexA: VertexIndex, indexB: VertexIndex, props: EdgeProps): void
Parameters
indexA: VertexIndex
indexB: VertexIndex
props: EdgeProps
Returns void
finishUnitPair
Returns void
getMap
startUnitPair
- startUnitPair(unitA: UnitId, unitB: UnitId): void
Parameters
unitA: UnitId
unitB: UnitId
Returns void