Package ons.util

Class Edge

java.lang.Object
ons.util.Edge

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

    Constructors 
    Constructor Description
    Edge​(int id, int source, int destination, double weight)  
  • Method Summary

    Modifier and Type Method Description
    int getDst()  
    int getId()  
    int getSrc()  
    double getWeight()  
    void setDst​(int dst)  
    void setId​(int id)  
    void setSrc​(int src)  
    void setWeight​(double weight)  

    Methods inherited from class java.lang.Object

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

    • Edge

      public Edge​(int id, int source, int destination, double weight)
  • Method Details

    • setDst

      public void setDst​(int dst)
    • setId

      public void setId​(int id)
    • setSrc

      public void setSrc​(int src)
    • setWeight

      public void setWeight​(double weight)
    • getDst

      public int getDst()
    • getId

      public int getId()
    • getSrc

      public int getSrc()
    • getWeight

      public double getWeight()