|
@@ -5,6 +5,7 @@ public class CpsEdge {
|
|
|
float maxCapacity;
|
|
|
float flow;
|
|
|
boolean isWorking;
|
|
|
+ boolean infinite;
|
|
|
|
|
|
CpsObject A;
|
|
|
CpsObject B;
|
|
@@ -97,5 +98,13 @@ public class CpsEdge {
|
|
|
public boolean getState(){
|
|
|
return isWorking;
|
|
|
}
|
|
|
+
|
|
|
+ public void setInfinite(boolean inf){
|
|
|
+ infinite = inf;
|
|
|
+ }
|
|
|
+
|
|
|
+ public boolean getInfinite(){
|
|
|
+ return infinite;
|
|
|
+ }
|
|
|
|
|
|
}
|