|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.cilib.measurement.single.ConvergedDimensions
public class ConvergedDimensions
Calculates the average number of dimensions over all particles that have converged within a specified error from the specified optimum. This measurement will be useful to see if convergence in certain dimensions is too slow.
Constructor Summary | |
---|---|
ConvergedDimensions()
Creates a new instance of ConvergedDimensions. |
|
ConvergedDimensions(ConvergedDimensions copy)
Copy constructor. |
Method Summary | |
---|---|
ConvergedDimensions |
getClone()
Create a cloned copy of the current object and return it. |
String |
getDomain()
Get the domain string representing what this measurement's results will conform to. |
ControlParameter |
getErrorThreshold()
|
StructuredType |
getTargetSolution()
|
Type |
getValue(Algorithm algorithm)
Get the value of the measurement. |
void |
setErrorThreshold(double error)
Set the error threshold |
void |
setTargetSolution(String stringRepresentation)
Set the target solution string representation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConvergedDimensions()
public ConvergedDimensions(ConvergedDimensions copy)
copy
- The instance to copy.Method Detail |
---|
public ConvergedDimensions getClone()
getClone
in interface Measurement
getClone
in interface Cloneable
Object.clone()
public ControlParameter getErrorThreshold()
public StructuredType getTargetSolution()
public void setErrorThreshold(double error)
error
- public void setTargetSolution(String stringRepresentation) throws ParseException
stringRepresentation
-
ParseException
- if the provided String
cannot be parsed.public String getDomain()
getDomain
in interface Measurement
public Type getValue(Algorithm algorithm)
Measurement.getDomain()
getValue
in interface Measurement
algorithm
- The algorithm to obtain the measurement from.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |