|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectlio.mutation.contchain.MinMaxMutation
public class MinMaxMutation
| Constructor Summary | |
|---|---|
MinMaxMutation()
|
|
| Method Summary | |
|---|---|
LiOResourceDefinition |
getDefinition()
Return a LiOResDescription object with the information of each object. |
void |
getTaskInformation(LiOTask task)
Allows passing information of the task to the resource. |
static void |
main(java.lang.String[] args)
Main class that allows testing the class. |
void |
mutate(Individual ind)
Applies mutation to one position choosen at random. |
void |
mutate(Individual ind,
double probability)
Applies mutation to each position depending on the probability. |
void |
setBounds(LiOBounds bounds)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MinMaxMutation()
| Method Detail |
|---|
public void getTaskInformation(LiOTask task)
getTaskInformation in interface LiODependentResourcetask - Task.public void setBounds(LiOBounds bounds)
public void mutate(Individual ind,
double probability)
mutate in interface Mutationindividual - Individual that will be mutated.pMutationProbability - probability of carrying out the mutation.public void mutate(Individual ind)
mutate in interface Mutationindividual - Individual that will be mutated.public LiOResourceDefinition getDefinition()
getDefinition in interface LiOResourcepublic 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 | |||||||||