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