Module graph

Class FloatTreeAttribute

All Implemented Interfaces:
Described, KeyDescription, Comparable

public abstract class FloatTreeAttribute extends FloatAttribute
  • Constructor Details

    • FloatTreeAttribute

      public FloatTreeAttribute(Type type, Quantity quantity)
    • FloatTreeAttribute

      public FloatTreeAttribute(Quantity quantity)
  • Method Details

    • getParentAttribute

      protected ObjectAttribute getParentAttribute(GraphState gs)
    • getDerived

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

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

      protected abstract float 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<Float>
      Returns:
      true iff this is a derived attribute
    • dependsOn

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

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