|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object urv.util.graph.Weight
public class Weight
Class that represents weight in net files containing latency model information
Constructor Summary | |
---|---|
Weight()
|
Method Summary | |
---|---|
static Weight |
add(Weight w1,
Weight w2)
|
int |
compareTo(java.lang.Object arg0)
Compares weight values |
static Weight |
getNegativeInfinityWeight()
Returns a unique negative infinity Weight object, necessary for Dijkstra comparisons |
java.lang.Float |
getValue()
|
boolean |
isSet()
|
Weight |
setMaxValue()
Sets Weight to its maximum value. |
Weight |
setNegativeInfinityValue()
|
Weight |
setValue(java.lang.Object o)
|
Weight |
setZeroValue()
|
java.lang.String |
toString()
String containing weight |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Weight()
Method Detail |
---|
public static Weight add(Weight w1, Weight w2)
public static Weight getNegativeInfinityWeight()
public int compareTo(java.lang.Object arg0)
compareTo
in interface java.lang.Comparable
public java.lang.Float getValue()
public boolean isSet()
public Weight setMaxValue()
public Weight setNegativeInfinityValue()
public Weight setValue(java.lang.Object o)
public Weight setZeroValue()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |