-
-
Constructor Summary
Constructors
-
Method Summary
abstract boolean
protected abstract int
protected int
protected abstract int
int
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
-
IntTreeAttribute
public IntTreeAttribute(Type type)
-
IntTreeAttribute
public IntTreeAttribute()
-
Method Details
-
-
-
derive
protected abstract int derive(Object object,
boolean asNode,
int parentValue,
GraphState gs)
-
getInitialValue
protected abstract int getInitialValue(GraphState gs)
-
isDerived
public boolean isDerived()
Determines whether this is a derived attribute or not.
- Overrides:
isDerived in class Attribute<Integer>
- Returns:
true iff this is a derived attribute
-
dependsOn
public abstract boolean dependsOn(Attribute[] b)
-