|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dishevelled.evolve.mutate.ProportionalMutation<I>
I - individual typepublic final class ProportionalMutation<I>
Proportional mutation function.
| Constructor Summary | |
|---|---|
ProportionalMutation()
Create a new proportional mutation function. |
|
| Method Summary | |
|---|---|
void |
add(IndividualWiseMutation<I> mutation,
double weight)
Add the specified individual-wise mutation function to this proportional mutation function at the specified weight. |
Collection<I> |
mutate(Collection<I> recombined)
Mutate the individuals in the specified collection of recombined individuals. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProportionalMutation()
| Method Detail |
|---|
public void add(IndividualWiseMutation<I> mutation,
double weight)
mutation - individual-wise mutation function, must not be nullweight - weightpublic Collection<I> mutate(Collection<I> recombined)
mutate in interface Mutation<I>recombined - collection of recombined individuals
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||