| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectlio.mutation.permutations.DisplacementMutation
public class DisplacementMutation
| Constructor Summary | |
|---|---|
DisplacementMutation()
Creates a new instance of DisplacementMutation  | 
|
| Method Summary | |
|---|---|
 int | 
getCutLong()
 | 
 LiOResourceDefinition | 
getDefinition()
Return a LiOResDescription object with the information of each object.  | 
static void | 
main(java.lang.String[] args)
Main class that allows testing the class.  | 
 void | 
mutate(Individual individual)
Mutates a parmutation  | 
 void | 
mutate(Individual individual,
       double pMutationProbability)
Applies mutation to the whole individual with a certain probability  | 
 void | 
setCutLong(int pCutLong)
 | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public DisplacementMutation()
| Method Detail | 
|---|
public void mutate(Individual individual)
mutate in interface Mutationindividual - Individual that will be mutated.
public void mutate(Individual individual,
                   double pMutationProbability)
mutate in interface Mutationindividual - Individual that will be mutated.pMutationProbability - probability of carrying out the mutation.public LiOResourceDefinition getDefinition()
getDefinition in interface LiOResourcepublic void setCutLong(int pCutLong)
public int getCutLong()
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 | |||||||||