Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IGraph<T>

Type parameters

  • T

Hierarchy

  • IGraph

Implemented by

Index

Methods

add

  • add(vertex: T): void

connect

connectionExists

  • connectionExists(connection: Connection<T>): boolean

exists

  • exists(node: T): boolean

getEdges

getEdgesFor

getVertices

  • getVertices(): T[]

minimumSpanningTree

  • minimumSpanningTree(): Graph<T>

shortestPath

  • shortestPath(from: T, to: T): T[]

Generated using TypeDoc