|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlio.LiOTask
problems.bitchain.SixPeaks
public class SixPeaks
Implements the deceptive Six Peaks function.
Field Summary | |
---|---|
(package private) int |
size
Size of the problem |
(package private) double |
t
Parameter t |
Constructor Summary | |
---|---|
SixPeaks()
|
Method Summary | |
---|---|
LiOBounds |
defineIndividuals()
In most cases, it is necessary to define some common features of a certain kind of individual such as upper and lower limits, size, etc. |
double |
evaluate(Individual individual)
Evaluates an individual and returns its fitness. |
LiOResourceDefinition |
getDefinition()
Return a LiOResDescription object with the information of each object. |
int |
getSize()
|
double |
getT()
|
double |
optimum()
Returns the optimum of the function. |
void |
setSize(int size)
|
void |
setT(double t)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
int size
double t
Constructor Detail |
---|
public SixPeaks()
Method Detail |
---|
public LiOBounds defineIndividuals()
defineIndividuals
in class LiOTask
public double evaluate(Individual individual)
evaluate
in class LiOTask
individual
- The individual that is going to be evaluated.
public double optimum()
optimum
in class LiOTask
public LiOResourceDefinition getDefinition()
getDefinition
in interface LiOResource
getDefinition
in class LiOTask
public int getSize()
public void setSize(int size)
size
- The size to set.public double getT()
public void setT(double t)
t
- The t to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |