Package pulse.search
Interface Optimisable
-
- All Known Implementing Classes:
AbsorptionModel,AdjustableBaseline,Baseline,BeerLambertAbsorption,ClassicalProblem,ClassicalProblem2D,DiathermicMedium,FlatBaseline,Harmonic,Insulator,LinearBaseline,NonlinearProblem,OptimisablePolyline,ParticipatingMedium,PenetrationProblem,Problem,Range,SinusoidalBaseline,ThermoOpticalProperties,TwoTemperatureModel
public interface OptimisableAn interface for dealing with optimisation variables. The variables are collected inIndexedVectors according to the pattern set up by a list ofFlags.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidassign(ParameterVector input)Assigns parameter values of thisOptimisableusing the optimisation vectorparams.voidoptimisationVector(ParameterVector output)Calculates the vector argument defined on to the scalar objective function for thisOptimisable.
-
-
-
Method Detail
-
assign
void assign(ParameterVector input) throws SolverException
Assigns parameter values of thisOptimisableusing the optimisation vectorparams. Only those parameters will be updated, the types of which are listed as indices in theparamsvector.- Parameters:
input- the optimisation vector, containing a similar set of parameters to thisProblem- Throws:
SolverException- ifparamscontains invalid parameter values
-
optimisationVector
void optimisationVector(ParameterVector output)
Calculates the vector argument defined on to the scalar objective function for thisOptimisable.- Parameters:
output- the output vector where the result will be stored
-
-