-
-
Constructor Summary
Constructors
-
Method Summary
abstract boolean
protected abstract float
protected float
protected abstract float
float
boolean
Determines whether this is a derived attribute or not.
Methods inherited from class de.grogra.graph.Attribute
compareTo, find, forName, getAttributeState, getDescription, getId, getKey, getQuantity, getSimpleName, getType, hashCode, initializeI18N, initializeName, isContained, isWritable, setAttributeState, toArray, toString
-
Constructor Details
-
-
FloatTreeAttribute
public FloatTreeAttribute(Quantity quantity)
-
Method Details
-
-
-
derive
protected abstract float derive(Object object,
boolean asNode,
float parentValue,
GraphState gs)
-
getInitialValue
protected abstract float getInitialValue(GraphState gs)
-
isDerived
public boolean isDerived()
Determines whether this is a derived attribute or not.
- Overrides:
isDerived in class Attribute<Float>
- Returns:
true iff this is a derived attribute
-
dependsOn
public abstract boolean dependsOn(Attribute[] b)
-