Home Reference Source

References

Class Summary

Static Public Class Summary
public

DuplicateEdgeError: error raised when adding duplicate Vertex value to Graph.

public

DuplicateVertexError: error raised when adding duplicate Vertex value to Graph.

public

Edge: represents an edge that can be added to a Graph instance.

public

Graph: represents a undirected graph data structure.

public

LinkedList: represents a (singly, non-circular) linked list.

public

Node: an element to append or insert into a LinkedList Usage: let node = new Node('A'); let nextNode = new Node('B'); node.setNext(nextNode);

public

Stack: FIFO data structure Usage: let queue = new Queue(); queue.enqueue('A'); queue.enqueue('B'); queue.dequeue(); => A'

public

Stack: LIFO data structure Usage: let stack = new Stack(); stack.push('A'); stack.push('B'); stack.pop(); => B'

public
public

Vertex: represents a vertex that can be added to a Graph instance.