コード例 #1
0
        // 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))
            {
            }
        }
コード例 #2
0
 public void AddChild(PowerNetworkItem child)
 {
     this.children.add(child);
 }