|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.cilib.measurement.multiple.CompositeMeasurement
public class CompositeMeasurement
Measurement to perform measurements on a set of contained Algorithm
instances. This type of measurement is generally only defined for
MultiPopulationBasedAlgorithm
.
Constructor Summary | |
---|---|
CompositeMeasurement()
Create a new instance with zero measurements. |
Method Summary | |
---|---|
void |
addMeasurement(Measurement measurement)
Add a measurement to the composite for evaluation on the sub-algorithms. |
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 measurement values for all sub-algorithms. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompositeMeasurement()
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)
getValue
in interface Measurement
algorithm
- The top level algorithm
public void addMeasurement(Measurement measurement)
measurement
- The measurement to add.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |