Package ons.util

Class GraphStatus

java.lang.Object
ons.util.GraphStatus

public class GraphStatus
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    GraphStatus​(WeightedGraph graph)  
  • Method Summary

    Modifier and Type Method Description
    void free​(int source, int destination, long id)  
    void free​(Flow flow)  
    boolean isReserved​(int source, int destination)  
    boolean isReserved​(Flow flow)  
    void reserve​(int source, int destination, long id)  
    void reserve​(Flow flow)  
    long whoReserved​(int source, int destination)  
    long whoReserved​(Flow flow)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • isReserved

      public boolean isReserved​(Flow flow)
    • isReserved

      public boolean isReserved​(int source, int destination)
    • reserve

      public void reserve​(Flow flow)
    • reserve

      public void reserve​(int source, int destination, long id)
    • whoReserved

      public long whoReserved​(Flow flow)
    • whoReserved

      public long whoReserved​(int source, int destination)
    • free

      public void free​(Flow flow)
    • free

      public void free​(int source, int destination, long id)