|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectlio.crossover.contchain.BLXAlphaCrossover
public class BLXAlphaCrossover
Implements the BLX-Alpha crossover operator for chains of reals.
| Constructor Summary | |
|---|---|
BLXAlphaCrossover()
Creates a new instance of BLXAlpha |
|
| Method Summary | |
|---|---|
Individual[] |
cross(Individual parent1,
Individual parent2)
Crosses two individuals. |
double |
getAlpha()
Getter for property alpha. |
LiOResourceDefinition |
getDefinition()
Return a LiOResDescription object which holds the name and all parameters that describe the resource. |
int |
getSizeOffSpring()
|
static void |
main(java.lang.String[] args)
Main class that allows testing the class. |
void |
setAlpha(double alpha)
Setter for property alpha. |
void |
setSizeOffSpring(int sizeOffSpring)
Setter for property sizeOffSpring. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BLXAlphaCrossover()
| Method Detail |
|---|
public int getSizeOffSpring()
getSizeOffSpring in interface Crossoverpublic LiOResourceDefinition getDefinition()
getDefinition in interface LiOResourcepublic void setSizeOffSpring(int sizeOffSpring)
sizeOffSpring - New value of property sizeOffSpring.public double getAlpha()
public void setAlpha(double alpha)
alpha - New value of property alpha.
public Individual[] cross(Individual parent1,
Individual parent2)
cross in interface Crossoverparent1 - First parentparent2 - Second parent
public static void main(java.lang.String[] args)
args - Arguments passed by command line
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||