public static class MultipleIterationsCondition.MultipleIterationsConditionParameterSet extends AbstractTerminationCondition.AbstractTerminationConditionParameterSet
MultipleIterationsCondition
.ParameterSet.ParameterList
errorMessage, parameters, parent
Constructor and Description |
---|
MultipleIterationsConditionParameterSet()
This constructor creates an empty parameter set.
|
MultipleIterationsConditionParameterSet(int threshold,
AbstractTerminationCondition condition)
This constructor creates a filled instance of the parameter set.
|
MultipleIterationsConditionParameterSet(StringBuffer xml)
The standard constructor for the interface
Storable . |
Modifier and Type | Method and Description |
---|---|
String |
getInstanceComment()
Returns a comment (a textual description) of the class that can be
constructed using this
ParameterSet . |
String |
getInstanceName()
Returns the name of an instance of the class that can be constructed
using this
ParameterSet . |
clone
fromXML, getInstance, getInstanceClass, toXML
fromGalaxy, getAllParameterNames, getComment, getComment, getErrorMessage, getIndex, getName, getName, getNumberOfParameters, getParameterAt, getParameterForName, getParent, hasDefaultOrIsSet, initParameterList, initParameterList, isAtomic, isComparable, parametersLoaded, reset, setParent, toGalaxy
public MultipleIterationsConditionParameterSet() throws Exception
Exception
- if some error occurspublic MultipleIterationsConditionParameterSet(StringBuffer xml) throws NonParsableException
Storable
.
Constructs an MultipleIterationsCondition.MultipleIterationsConditionParameterSet
out of an XML representation.xml
- the XML representation as StringBuffer
NonParsableException
- if the MultipleIterationsCondition.MultipleIterationsConditionParameterSet
could not be
reconstructed out of the StringBuffer
representation
public MultipleIterationsConditionParameterSet(int threshold, AbstractTerminationCondition condition) throws Exception
threshold
- the number of contiguous iterations the provided condition must fail to stop the optimizationcondition
- the condition for stopping the algorithmException
- if the MultipleIterationsCondition.MultipleIterationsConditionParameterSet
could not be createdpublic String getInstanceComment()
InstanceParameterSet
ParameterSet
.getInstanceComment
in class InstanceParameterSet<AbstractTerminationCondition>
public String getInstanceName()
InstanceParameterSet
ParameterSet
.getInstanceName
in class InstanceParameterSet<AbstractTerminationCondition>