diff --git a/Graphs/NodeNeighbors.js b/Graphs/NodeNeighbors.js index cd160c6d2..54ec4b63a 100644 --- a/Graphs/NodeNeighbors.js +++ b/Graphs/NodeNeighbors.js @@ -1,3 +1,5 @@ +// https://en.wikipedia.org/wiki/Neighbourhood_(graph_theory) + class Graph{ // Generic graph: the algorithm works regardless of direction or weight constructor(){