|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
org.dishevelled.evolve.EvolutionaryAlgorithmEvent<I>
I - individual typepublic final class EvolutionaryAlgorithmEvent<I>
An event representing progress in an evolutionary algorithm function.
| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
EvolutionaryAlgorithmEvent(EvolutionaryAlgorithm<I> source,
Collection<I> population,
Collection<I> recombined,
Collection<I> mutated)
Create a new evolutionary algorithm event with the specified parameters. |
|
EvolutionaryAlgorithmEvent(EvolutionaryAlgorithm<I> source,
Collection<I> population,
Collection<I> selected,
WeightedMap<I> scores)
Create a new evolutionary algorithm event with the specified parameters. |
|
EvolutionaryAlgorithmEvent(EvolutionaryAlgorithm<I> source,
Collection<I> population,
WeightedMap<I> scores,
int time)
Create a new evolutionary algorithm event with the specified parameters. |
|
EvolutionaryAlgorithmEvent(EvolutionaryAlgorithm<I> source,
I individual,
Double score)
Create a new evolutionary algorithm event with the specified parameters. |
|
| Method Summary | |
|---|---|
EvolutionaryAlgorithm<I> |
getEvolutionaryAlgorithm()
Return the source of this event as an evolutionary algorithm function. |
I |
getIndividual()
Return the individual, for fitness calculated events. |
Collection<I> |
getMutated()
Return the collection of mutated individuals, for mutated events. |
Collection<I> |
getPopulation()
Return the population of individuals. |
Collection<I> |
getRecombined()
Return the collection of recombined individuals, for recombined or mutated events. |
Double |
getScore()
Return the score, for fitness calculated events. |
WeightedMap<I> |
getScores()
Return the fitness scores. |
Collection<I> |
getSelected()
Return the collection of selected individuals, for selected events. |
int |
getTime()
Return the time (in number of generations), for exit events. |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EvolutionaryAlgorithmEvent(EvolutionaryAlgorithm<I> source,
Collection<I> population,
WeightedMap<I> scores,
int time)
source - source of this eventpopulation - population of individuals, for exit eventsscores - fitness scores, for exit eventstime - time (in number of generations), for exit events
public EvolutionaryAlgorithmEvent(EvolutionaryAlgorithm<I> source,
Collection<I> population,
Collection<I> recombined,
Collection<I> mutated)
source - source of this eventpopulation - population of individuals, for recombined eventsrecombined - collection of recombined individuals, for recombined or mutated eventsmutated - collection of mutated individuals, for mutated events
public EvolutionaryAlgorithmEvent(EvolutionaryAlgorithm<I> source,
I individual,
Double score)
source - source of this eventindividual - individual, for fitness calculated eventsscore - score, for fitness calculated events
public EvolutionaryAlgorithmEvent(EvolutionaryAlgorithm<I> source,
Collection<I> population,
Collection<I> selected,
WeightedMap<I> scores)
source - source of this eventpopulation - population of individuals, for selected eventsselected - collection of selected individuals, for selected eventsscores - fitness scores, for selected events| Method Detail |
|---|
public EvolutionaryAlgorithm<I> getEvolutionaryAlgorithm()
public Collection<I> getPopulation()
public WeightedMap<I> getScores()
public int getTime()
0.
public Collection<I> getRecombined()
public Collection<I> getMutated()
public I getIndividual()
public Double getScore()
public Collection<I> getSelected()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||