Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type aliases

EdgePropsBase: {}

Type declaration

Functions

  • Check if any vertex in verticesA is connected to any vertex in verticesB via at most maxDistance edges.

    Returns true if verticesA and verticesB are intersecting.

    Parameters

    Returns boolean

  • connectedComponents(graph: IntAdjacencyGraph<any, any, any>): { componentCount: number; componentIndex: Int32Array }
  • Parameters

    Returns { componentCount: number; componentIndex: Int32Array }

    • componentCount: number
    • componentIndex: Int32Array
  • create<VertexIndex, EdgeProps, Props>(offset: ArrayLike<number>, a: ArrayLike<VertexIndex>, b: ArrayLike<VertexIndex>, edgeCount: number, edgeProps?: EdgeProps, props?: Props): IntAdjacencyGraph<VertexIndex, EdgeProps, Props>
  • fromVertexPairs<V>(vertexCount: number, xs: V[], ys: V[]): IntAdjacencyGraph<V, {}, unknown>
  • Type parameters

    • V: number

    Parameters

    • vertexCount: number
    • xs: V[]
    • ys: V[]

    Returns IntAdjacencyGraph<V, {}, unknown>

Generated using TypeDoc