Package pulse.math.filters
Class OptimisablePolyline
- java.lang.Object
-
- pulse.util.UpwardsNavigable
-
- pulse.util.Group
-
- pulse.util.Accessible
-
- pulse.util.PropertyHolder
-
- pulse.math.filters.OptimisablePolyline
-
- All Implemented Interfaces:
Serializable,Optimisable,Descriptive
public class OptimisablePolyline extends PropertyHolder implements Optimisable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OptimisablePolyline(List<Point2D> data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAssignmentListener(AssignmentListener listener)voidassign(ParameterVector input)Assigns parameter values of thisOptimisableusing the optimisation vectorparams.double[]getX()double[]getY()voidoptimisationVector(ParameterVector output)Calculates the vector argument defined on to the scalar objective function for thisOptimisable.List<Point2D>points()voidset(NumericPropertyKeyword type, NumericProperty property)An abstract method, which must be overriden to gain access over setting the values of all relevant (selected by the programmer)NumericProperties in subclasses ofAccessible.-
Methods inherited from class pulse.util.PropertyHolder
addListener, areDetailsHidden, data, describe, firePropertyChanged, getDescriptor, getListeners, getPrefix, ignoreSiblings, initListeners, isListedNumericType, isListedParameter, listedKeywords, listedTypes, numericData, parameterListChanged, removeListeners, setPrefix, updateProperties, updateProperty
-
Methods inherited from class pulse.util.Accessible
accessibleChildren, genericProperties, genericProperty, numericProperties, numericProperty, property, update, update
-
Methods inherited from class pulse.util.UpwardsNavigable
addHierarchyListener, getHierarchyListeners, getParent, identify, removeHierarchyListener, removeHierarchyListeners, setParent, specificAncestor, tellParent
-
-
-
-
Method Detail
-
assign
public void assign(ParameterVector input) throws SolverException
Description copied from interface:OptimisableAssigns parameter values of thisOptimisableusing the optimisation vectorparams. Only those parameters will be updated, the types of which are listed as indices in theparamsvector.- Specified by:
assignin interfaceOptimisable- Parameters:
input- the optimisation vector, containing a similar set of parameters to thisProblem- Throws:
SolverException- ifparamscontains invalid parameter values
-
optimisationVector
public void optimisationVector(ParameterVector output)
Description copied from interface:OptimisableCalculates the vector argument defined on to the scalar objective function for thisOptimisable.- Specified by:
optimisationVectorin interfaceOptimisable- Parameters:
output- the output vector where the result will be stored
-
set
public void set(NumericPropertyKeyword type, NumericProperty property)
Description copied from class:AccessibleAn abstract method, which must be overriden to gain access over setting the values of all relevant (selected by the programmer)
NumericProperties in subclasses ofAccessible. Typically this involves aswitchstatement that goes through the different options for thetypeand invokes differentset(...)methods to update the matchingNumericPropertywithproperty.- Specified by:
setin classAccessible- Parameters:
type- the type, which must be equal by definition toproperty.getType().property- the property, which contains new information.
-
getX
public double[] getX()
-
getY
public double[] getY()
-
addAssignmentListener
public void addAssignmentListener(AssignmentListener listener)
-
-