public static GetTestNetwork3 ( ) : TemporalNetwork | ||
return | TemporalNetwork |
public void AbsoluteTimeTest() { TemporalNetwork test = ExampleData.GetTestNetwork3(); // Default behavior is relative time test.ReduceToTwoPaths(); Assert.IsTrue(test.TwoPathWeights.ContainsKey("a,c,e") && test.TwoPathWeights["a,c,e"] == 1); test = ExampleData.GetTestNetwork3(); test.ReduceToTwoPaths(false, true); Assert.IsFalse(test.TwoPathWeights.ContainsKey("a,c,e")); }
public void AggregateTimeTest() { TemporalNetwork net = ExampleData.GetTestNetwork3(); net.AggregateTime(3); }