|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.cilib.measurement.single.ParticleBoundViolations
public class ParticleBoundViolations
Calculates the average number of particles in the current swarm that violates boundary constraints. This measure can be used as an indicator of whether the algorithm spend too much time exploring in infeasible space (with respect to the boundary constraints).
Constructor Summary | |
---|---|
ParticleBoundViolations()
Creates a new instance of ParticleBoundViolations. |
|
ParticleBoundViolations(ParticleBoundViolations copy)
Copy constructor. |
Method Summary | |
---|---|
Measurement |
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. |
Type |
getValue(Algorithm algorithm)
Get the value of the measurement. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ParticleBoundViolations()
public ParticleBoundViolations(ParticleBoundViolations copy)
copy
- The instance to copy.Method Detail |
---|
public Measurement getClone()
getClone
in interface Measurement
getClone
in interface Cloneable
Object.clone()
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 |