de.grogra.graph
Class FloatTreeAttribute
java.lang.Object
de.grogra.graph.Attribute<java.lang.Float>
de.grogra.graph.FloatAttribute
de.grogra.graph.FloatTreeAttribute
- All Implemented Interfaces:
- Described, KeyDescription, java.lang.Comparable
public abstract class FloatTreeAttribute
- extends FloatAttribute
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
FloatTreeAttribute
public FloatTreeAttribute(Quantity quantity)
FloatTreeAttribute
public FloatTreeAttribute(Type type,
Quantity quantity)
dependsOn
public abstract boolean dependsOn(Attribute[] b)
derive
protected abstract float derive(java.lang.Object object,
boolean asNode,
float parentValue,
GraphState gs)
getDerived
protected float getDerived(java.lang.Object object,
boolean asNode,
GraphState gs)
- Overrides:
getDerived
in class FloatAttribute
getInitialValue
protected abstract float getInitialValue(GraphState gs)
getParentAttribute
protected ObjectAttribute getParentAttribute(GraphState gs)
getParentValue
public float getParentValue(java.lang.Object object,
boolean asNode,
GraphState gs)
isDerived
public boolean isDerived()
- Description copied from class:
Attribute
- Determines whether this is a derived attribute or not.
- Overrides:
isDerived
in class Attribute<java.lang.Float>
- Returns:
true
iff this is a derived attribute