hep.aida.ref.optimizer
Class OptimizerResult
- java.lang.Object
-
- hep.aida.ref.optimizer.OptimizerResult
-
- All Implemented Interfaces:
- IOptimizerResult
public class OptimizerResult extends java.lang.Object implements IOptimizerResult
Implementation of IOptimizerResult
-
-
Field Summary
-
Fields inherited from interface hep.aida.ext.IOptimizerResult
APPROXIMATE, CONVERGED, CONVERGED_NEG_MATRIX, CONVERGED_SMALL_GRADIENT, CONVERGED_SMALL_STEP_SIZE, NOT_CONVERGED, REACHED_MAX_ITER, TOO_MANY_LARGE_STEPS, UNDEFINED
-
-
Constructor Summary
Constructors Constructor and Description OptimizerResult()Creates a new instance of OptimizerResult
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description IOptimizerConfigurationconfiguration()The optimizer's configuration.IDomainConstraintconstraints()The constraints used in the optimization.java.lang.Objectcontour(int nSigma, int nPoints, IVariable var1, IVariable var2)Get the contour with respec to two variables.double[][]correlationMatrix()The correlation matrix.double[][]covarianceMatrix()The covariance matrix.intoptimizationStatus()The status of the optimizer after the optimization procedure.double[]parameters()java.lang.Objectscan(int nPoints, IVariable var)Scan the function with respect to a variable.java.lang.Objectscan(int nPoints, IVariable var1, IVariable var2)Scan the function with respect to two variables.voidsetCorrelationMatrix(double[][] corrMatrix)voidsetCovarianceMatrix(double[][] covMatrix)voidsetOptimizationStatus(int status)voidsetParameters(double[] pars)
-
-
-
Constructor Detail
-
OptimizerResult
public OptimizerResult()
Creates a new instance of OptimizerResult
-
-
Method Detail
-
parameters
public double[] parameters()
- Specified by:
parametersin interfaceIOptimizerResult
-
setParameters
public void setParameters(double[] pars)
-
constraints
public IDomainConstraint constraints()
The constraints used in the optimization.- Specified by:
constraintsin interfaceIOptimizerResult- Returns:
- The domain of constraints.
-
configuration
public IOptimizerConfiguration configuration()
The optimizer's configuration.- Specified by:
configurationin interfaceIOptimizerResult- Returns:
- The optimizer's configuration.
-
covarianceMatrix
public double[][] covarianceMatrix()
The covariance matrix. Still under discussion- Specified by:
covarianceMatrixin interfaceIOptimizerResult
-
setCovarianceMatrix
public void setCovarianceMatrix(double[][] covMatrix)
-
correlationMatrix
public double[][] correlationMatrix()
The correlation matrix. Still under discussion.- Specified by:
correlationMatrixin interfaceIOptimizerResult
-
setCorrelationMatrix
public void setCorrelationMatrix(double[][] corrMatrix)
-
contour
public java.lang.Object contour(int nSigma, int nPoints, IVariable var1, IVariable var2)Get the contour with respec to two variables.- Specified by:
contourin interfaceIOptimizerResult- Parameters:
nSigma- The number of sigmas at which the contour should be calculated.nPoints- The maximum number of points on the contour (might be less).var1- The first variable.var2- The second variable.- Returns:
- The Object containing the contour (to be fixed).
-
scan
public java.lang.Object scan(int nPoints, IVariable var1, IVariable var2)Scan the function with respect to two variables.- Specified by:
scanin interfaceIOptimizerResult- Parameters:
nPoints- The number of points to be used in the scan.var1- The first variable.var2- The second variable.- Returns:
- The Object containing the scan (to be fixed).
-
scan
public java.lang.Object scan(int nPoints, IVariable var)Scan the function with respect to a variable.- Specified by:
scanin interfaceIOptimizerResult- Parameters:
nPoints- The number of points to be used in the scan.var- The variable.- Returns:
- The Object containing the scan (to be fixed).
-
optimizationStatus
public int optimizationStatus()
The status of the optimizer after the optimization procedure.- Specified by:
optimizationStatusin interfaceIOptimizerResult- Returns:
- The status of the optimization.
-
setOptimizationStatus
public void setOptimizationStatus(int status)
-
-
DMelt 3.0 © DataMelt by jWork.ORG