16 package org.openkilda.pce.algo;
22 import org.junit.Test;
24 import java.util.LinkedList;
79 new SwitchId(
"00:00:b0:d2:f5:00:5a:b8"), 35);
81 LinkedList<SimpleIsl> fpath = forward.
getPath();
82 System.out.println(
"forward.getPath() = " + fpath);
84 new SwitchId(
"00:00:70:72:cf:d2:47:a6"), 35);
85 LinkedList<SimpleIsl> rpath = reverse.
getPath(fpath);
86 System.out.println(
"reverse.getPath() = " + rpath);
LinkedList< SimpleIsl > getPath()
AvailableNetwork addLink(SwitchId srcDpid, SwitchId dstDpid, int srcPort, int dstPort, int cost, int latency)
AvailableNetwork buildNetwork1()
AvailableNetwork removeSelfLoops()