public void AddInput(MyNode vertex, double weight) { Inputs[vertex] = weight; }
public void AddOutput(MyNode vertex, double weight) { Outputs[vertex] = weight; }
public void AddInput(MyNode vertex, double weight) { Inputs[vertex] = weight; }
public void AddOutput(MyNode vertex, double weight) { Outputs[vertex] = weight; }