Class IterationDataImpl

  • All Implemented Interfaces:
    IterationData
    Direct Known Subclasses:
    SvdIterationDataImpl

    public class IterationDataImpl
    extends java.lang.Object
    implements IterationData
    The implementation of the data holding info about aloha iterations
    • Constructor Detail

      • IterationDataImpl

        public IterationDataImpl​(int iterationNumber)
        the constructor, which enforces to give an interationNumber
        Parameters:
        iterationNumber - the iteration number of the data
    • Method Detail

      • getValue

        public java.lang.Double getValue​(VariationParameter parameter)
        Specified by:
        getValue in interface IterationData
        Returns:
        the value of the given parameter at the time of this iteration
      • storeValue

        public void storeValue​(VariationParameter parameter)
        Description copied from interface: IterationData
        stores the actual value of the parameter.
        Specified by:
        storeValue in interface IterationData
        Parameters:
        parameter - the parameter whose value to store.
      • getIterationNumber

        public int getIterationNumber()
        Specified by:
        getIterationNumber in interface IterationData
        Returns:
        the iteration number for this data
      • getActiveDifferenceRms

        public double getActiveDifferenceRms()
        Specified by:
        getActiveDifferenceRms in interface IterationData
        Returns:
        the rms of the difference vector, including only the active contributors
      • getAllDifferenceRms

        public double getAllDifferenceRms()
        Specified by:
        getAllDifferenceRms in interface IterationData
        Returns:
        the rms of the difference vector, including all contributors (active and inactive ones)
      • getDifferenceRms

        public java.lang.Double getDifferenceRms​(SensitivityMatrixContributor contributor)
        Specified by:
        getDifferenceRms in interface IterationData
        Parameters:
        contributor - the contributor for which to get the rms
        Returns:
        the rms of the difference vector, only for this contributor
      • setAllDifferenceRms

        public void setAllDifferenceRms​(double allDifferenceRms)
      • setActiveDifferenceRms

        public void setActiveDifferenceRms​(double activeDifferenceRms)