public class Costs extends PropertyDouble
Constructor and Description |
---|
Costs() |
Modifier and Type | Method and Description |
---|---|
int |
compare(java.lang.Object o1,
java.lang.Object o2) |
java.lang.Double |
getDefaultValue()
We want to have a default value for a property s.t., we can reason on it
|
java.lang.Long |
getID() |
java.util.Set<Constructs> |
getMeaningfulTypeConstructs() |
java.lang.String |
getName() |
double |
getValueDouble(java.lang.Object value) |
boolean |
hasOrdering() |
boolean |
higherBetter() |
clone, getGUIProperty, marshall, unmarshall
equals, getDependencies, getIcon, hashCode, monotonicity, toString
public java.lang.Long getID()
public java.lang.Double getDefaultValue()
Property
public int compare(java.lang.Object o1, java.lang.Object o2)
compare
in interface Property<java.lang.Double>
compare
in class HighLevelProperty<java.lang.Double>
o1
- a value for a propertyo2
- another value for a propertypublic double getValueDouble(java.lang.Object value)
getValueDouble
in interface Property<java.lang.Double>
getValueDouble
in class PropertyDouble
value
- The value one wants to have a single double ofpublic boolean higherBetter()
higherBetter
in interface Property<java.lang.Double>
higherBetter
in class HighLevelProperty<java.lang.Double>
public boolean hasOrdering()
hasOrdering
in interface Property<java.lang.Double>
hasOrdering
in class HighLevelProperty<java.lang.Double>
public java.lang.String getName()
public java.util.Set<Constructs> getMeaningfulTypeConstructs()
getMeaningfulTypeConstructs
in interface Property<java.lang.Double>
getMeaningfulTypeConstructs
in class HighLevelProperty<java.lang.Double>