| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectlio.selectors.TruncationSelection
public class TruncationSelection
This class selects the best individuals in an array.
| Constructor Summary | |
|---|---|
TruncationSelection()
 | 
|
| Method Summary | |
|---|---|
 LiOResourceDefinition | 
getDefinition()
Return a LiOResDescription object which holds the name and all parameters that describe the resource.  | 
static void | 
main(java.lang.String[] args)
Main class that allows testing the class.  | 
 Individual[] | 
select(Individual[] individuals,
       int number)
Returns an array of individuals selected from those passed as parameter.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public TruncationSelection()
| Method Detail | 
|---|
public Individual[] select(Individual[] individuals,
                           int number)
select in interface Selectorindividuals - set of individualsnumber - number of individual that must be selected
public LiOResourceDefinition getDefinition()
LiOResource
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 | |||||||||