|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.cilib.measurement.single.Diversity
public class Diversity
Function to calculate the diversity of a swarm according to the definition of Krink et al
References:
Constructor Summary | |
---|---|
Diversity()
|
|
Diversity(Diversity copy)
|
Method Summary | |
---|---|
Diversity |
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 Diversity()
public Diversity(Diversity copy)
Method Detail |
---|
public Diversity getClone()
Measurement
getClone
in interface Measurement
getClone
in interface Cloneable
Object.clone()
public String getDomain()
Measurement
getDomain
in interface Measurement
public Type getValue(Algorithm algorithm)
Measurement
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 |