Module graph

Class IntTreeAttribute

All Implemented Interfaces:
Described, KeyDescription, Comparable

public abstract class IntTreeAttribute extends IntAttribute
  • Constructor Details

    • IntTreeAttribute

      public IntTreeAttribute(Type type)
    • IntTreeAttribute

      public IntTreeAttribute()
  • Method Details

    • getParentAttribute

      protected ObjectAttribute getParentAttribute(GraphState gs)
    • getDerived

      protected int getDerived(Object object, boolean asNode, GraphState gs)
      Overrides:
      getDerived in class IntAttribute
    • derive

      protected abstract int derive(Object object, boolean asNode, int parentValue, GraphState gs)
    • getInitialValue

      protected abstract int getInitialValue(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<Integer>
      Returns:
      true iff this is a derived attribute
    • dependsOn

      public abstract boolean dependsOn(Attribute[] b)
    • getParentValue

      public int getParentValue(Object object, boolean asNode, GraphState gs)