// This will find a path from the sink to the closest(ish) generator and create a path to be checked. public Stack FindPath(Sink sink) { PowerNetworkItem currentItem = sink; while (!this.Gennerators.contains(currentItem)) { } }
public void AddChild(PowerNetworkItem child) { this.children.add(child); }