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, unmarshallequals, getDependencies, getIcon, hashCode, monotonicity, toStringpublic java.lang.Long getID()
public java.lang.Double getDefaultValue()
Propertypublic 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 PropertyDoublevalue - 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>