Class ParametricAnalysis.ValuesTable

java.lang.Object
common.definitions.parametric.ParametricAnalysis.ValuesTable
Enclosing interface:
ParametricAnalysis

public static class ParametricAnalysis.ValuesTable extends Object

Title: ValuesTable

Description: this class represents a table used to contain the values that the varying will assume during the parametric analysis. It contains a HashMap, used to contain a Vector for each class, containing the values that the parameter will assume step by step.

Author:
Francesco D'Aquino Date: 18-dic-2005 Time: 09.09.09
  • Constructor Details

  • Method Details

    • setValue

      public void setValue(Object classKey, double value)
      Sets the next-step value for the parameter of class classKey.
      Parameters:
      classKey - the class of the parameter
      value - the value it will assume
    • getValue

      public double getValue(Object classKey, int step)
      Gets the value assumed by the parameter of class classKey at step step.
      Parameters:
      classKey - the class the parameter belongs to.
      step - the step we are interested in.
      Returns:
      the value the parameter will assume.
    • getNumberOfInsertedSteps

      public int getNumberOfInsertedSteps()
      Gets the total number of steps inserted.
      Returns:
      the total number of steps inserted.
    • getNumberOfClasses

      public int getNumberOfClasses()
      Gets the number of classes the table contains
      Returns:
      the number of contained classes
    • getClassKeySet

      public Set<Object> getClassKeySet()
      Returns a Set containing the class Keys
      Returns:
      a Set containing the class Keys
    • getTable

      public HashMap<Object,Vector> getTable()