Module net.finmath.lib
Class ScalarParameterInformationImplementation
java.lang.Object
net.finmath.fouriermethod.calibration.ScalarParameterInformationImplementation
- All Implemented Interfaces:
ParameterInformation,ScalarParameterInformation
public class ScalarParameterInformationImplementation
extends Object
implements ScalarParameterInformation
This class tells us if a parameter has to be calibrated and if it is constrained.
- Author:
- Alessandro Gnoatto
-
Constructor Summary
ConstructorsConstructorDescriptionScalarParameterInformationImplementation(boolean isParameterToCalibrate)Constructs an unconstrained parameter.ScalarParameterInformationImplementation(boolean isParameterToCalibrate, ScalarConstraint constraint)Constructs a parameter.ScalarParameterInformationImplementation(ScalarConstraint constraint)Constructs a parameter that needs to be calibrated. -
Method Summary
Modifier and TypeMethodDescriptionReturns the constraint.booleanBoolean flag for parameters that need to be calibrated.
-
Constructor Details
-
ScalarParameterInformationImplementation
public ScalarParameterInformationImplementation(boolean isParameterToCalibrate, ScalarConstraint constraint)Constructs a parameter.- Parameters:
isParameterToCalibrate- If true, the parameter will be varied during calibration.constraint- A constraint for the parameter.
-
ScalarParameterInformationImplementation
public ScalarParameterInformationImplementation(boolean isParameterToCalibrate)Constructs an unconstrained parameter.- Parameters:
isParameterToCalibrate- If true, the parameter will be varied during calibration.
-
ScalarParameterInformationImplementation
Constructs a parameter that needs to be calibrated.- Parameters:
constraint- A constraint for the parameter.
-
-
Method Details
-
getIsParameterToCalibrate
public boolean getIsParameterToCalibrate()Description copied from interface:ScalarParameterInformationBoolean flag for parameters that need to be calibrated.- Specified by:
getIsParameterToCalibratein interfaceScalarParameterInformation- Returns:
- true if the parameter must be calibrated.
-
getConstraint
Description copied from interface:ScalarParameterInformationReturns the constraint.- Specified by:
getConstraintin interfaceScalarParameterInformation- Returns:
- the constraint.
-