Skip to content

Latest commit

 

History

History
10 lines (9 loc) · 387 Bytes

File metadata and controls

10 lines (9 loc) · 387 Bytes

graphLib

Library for undirected and directed graphs of custom type to find a way between vertices.

Library contains of three operations:

  1. addVertex(Graph graph, V vertex) Add vertex to graph
  2. addEdge(Graph graph, V start, V end) Add edge between vertex start and vertex end
  3. getPath(Graph graph, V start, V end) Returns a list of edges between vertices start and end.