|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectclassifier.gp.SelectionFunction
classifier.gp.Tournament
| Field Summary |
| Fields inherited from class classifier.gp.SelectionFunction |
BESTSELECTION, FITNESSOVERSELECTED, FITNESSPROPORTIONATE, RANDOMSELECTION, TOURNAMENT, WORSTSELECTION |
| Constructor Summary | |
Tournament(int size)
|
|
Tournament(java.util.Properties p)
|
|
| Method Summary | |
Individual |
select(Population p)
Select an individual on the basis of the selected criteria |
java.lang.String |
toString()
Just a string |
| Methods inherited from class classifier.gp.SelectionFunction |
createSelectionFunction |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Tournament(int size)
public Tournament(java.util.Properties p)
| Method Detail |
public Individual select(Population p)
SelectionFunction
select in class SelectionFunctionp - population of origin
public java.lang.String toString()
SelectionFunction
toString in class SelectionFunction
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||