public void AddNeighbour(RouterData data) { Node node = new Node(data); AddNeighbour(node); }
public Node(RouterData data) { _data = data; }
public Node(RouterData data, LinkedList <Node> neighbours) : this(data) { _neighbours = neighbours; }
public void AddNode(RouterData data) { AddNode(new Node(data)); }