Documentation of 'org.jquantlib.model.CalibratedModel' Java class
CalibratedModel
org.jquantlib.model

Class CalibratedModel

    • Constructor Detail

      • CalibratedModel

        public CalibratedModel(int nArguments)
    • Method Detail

      • calibrate

        public void calibrate(java.util.List<CalibrationHelper> instruments,
                              OptimizationMethod method,
                              EndCriteria endCriteria,
                              Constraint additionalConstraint,
                              double[] weights)

        Calibrate to a set of market instruments (caps/swaptions).

        An additional constraint can be passed which must be satisfied in addition to the constraints of the model.

      • constraint

        public final Constraint constraint()
      • endCriteria

        public EndCriteria.Type endCriteria()

        returns end criteria result

      • params

        public Array params()

        Returns array of arguments on which calibration is done.

      • setParams

        public void setParams(Array params)
      • update

        public void update()
        This method must be implemented in derived classes.

        An instance of Observer does not call this method directly: instead, it will be called by the observables the instance registered with when they need to notify any changes.

        Specified by:
        update in interface Observer
      • addObserver

        public void addObserver(Observer observer)
        Description copied from interface: Observable
        Attaches a observer to the Observable. After attachment the observer gets informed about changes in the Observable.
        Specified by:
        addObserver in interface Observable
        Parameters:
        observer - The observer to attach to the observable
      • countObservers

        public int countObservers()
        Description copied from interface: Observable
        Counts how many Observers were attached to this class.
        Specified by:
        countObservers in interface Observable
        Returns:
        the number of Observers
        See Also:
        Observer
      • deleteObserver

        public void deleteObserver(Observer observer)
        Description copied from interface: Observable
        Detaches a previously attached observer to the observable. After detachment the observer does no longer receive change notifications from the observable.
        Specified by:
        deleteObserver in interface Observable
        Parameters:
        observer - The observer to detach from the observable
      • deleteObservers

        public void deleteObservers()
        Description copied from interface: Observable
        Detaches all previously attached observer to the observable. After detachment observers do not longer receive change notifications from the observable.
        Specified by:
        deleteObservers in interface Observable
      • getObservers

        public java.util.List<Observer> getObservers()
        Description copied from interface: Observable
        Returns list of observers registered with the Observable. List returned is unmodifiable list.
        Specified by:
        getObservers in interface Observable
        Returns:
        list of observers
      • notifyObservers

        public void notifyObservers()
        Description copied from interface: Observable
        Notifies all attached observers about changes in the observable.
        Specified by:
        notifyObservers in interface Observable
      • notifyObservers

        public void notifyObservers(java.lang.Object arg)
        Description copied from interface: Observable
        Notifies all attached observers about changes in the observable.
        Specified by:
        notifyObservers in interface Observable
        Parameters:
        arg - an arbitrary Object to be passed to the Observer

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.