Documentation of 'net.finmath.marketdata.calibration.ParameterAggregation' Java class
ParameterAggregation
net.finmath.marketdata.calibration

Class ParameterAggregation<E extends ParameterObjectInterface>

  • All Implemented Interfaces:
    ParameterObjectInterface


    public class ParameterAggregation<E extends ParameterObjectInterface>
    extends java.lang.Object
    implements ParameterObjectInterface
    Combine a set of parameter vectors to a single parameter vector. The class is a little helper class which can combine a set of double[] parameter-vectors to a single large double[] parameter-vector. More precisely: this class combines a set of objects implementing ParameterObjectInterface to a single object by implementing ParameterObjectInterface with the combined parameter. An application is an optimization problem which depends on different parametrized objects, using a solver/optimizer which operates an a single parameter vector.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void add(E parameterObject)
      Add an object this parameterization.
      CurveInterface getCloneForParameter(double[] value)
      Create a clone with a modified parameter.
      java.util.Map<E,double[]> getObjectsToModifyForParameter(double[] parameter) 
      double[] getParameter()
      Get the current parameter associated with the state of the objects.
      void remove(E parameterObject)
      Remove an object from this parameterization.
      void setParameter(double[] parameter)
      Set the current parameter and change the state of the objects.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ParameterAggregation

        public ParameterAggregation()
        Create a collection of parametrized objects.
      • ParameterAggregation

        public ParameterAggregation(java.util.Set<E> parameters)
        Create a collection of parametrized objects. The constructor will internally create a (shallow) copy of the set passed to it.
        Parameters:
        parameters - A set of objects implementing ParameterObjectInterface to be combined to a single object.
      • ParameterAggregation

        public ParameterAggregation(E[] parameters)
        Create a collection of parametrized objects. The constructor will internally create a (shallow) copy of the set passed to it.
        Parameters:
        parameters - A set of objects implementing ParameterObjectInterface to be combined to a single object.
    • Method Detail

      • add

        public void add(E parameterObject)
        Add an object this parameterization.
        Parameters:
        parameterObject - The parameter object to add to this parameterization
      • remove

        public void remove(E parameterObject)
        Remove an object from this parameterization.
        Parameters:
        parameterObject - The parameter object to remove.
      • setParameter

        public void setParameter(double[] parameter)
        Description copied from interface: ParameterObjectInterface
        Set the current parameter and change the state of the objects.
        Specified by:
        setParameter in interface ParameterObjectInterface
        Parameters:
        parameter - The parameter associated with the new state of the objects.
      • getObjectsToModifyForParameter

        public java.util.Map<E,double[]> getObjectsToModifyForParameter(double[] parameter)
      • getCloneForParameter

        public CurveInterface getCloneForParameter(double[] value)
                                            throws java.lang.CloneNotSupportedException
        Description copied from interface: ParameterObjectInterface
        Create a clone with a modified parameter.
        Specified by:
        getCloneForParameter in interface ParameterObjectInterface
        Parameters:
        value - The new parameter.
        Returns:
        A clone with an otherwise modified parameter.
        Throws:
        java.lang.CloneNotSupportedException - Thrown, when the curve could not be cloned.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.