|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectlio.generators.permutation.RandomGenerator
public class RandomGenerator
This class generates permutations of double randomly.
| Constructor Summary | |
|---|---|
RandomGenerator()
|
|
| Method Summary | |
|---|---|
Individual[] |
generate(int nIndividuals)
Creates individuals. |
LiOResourceDefinition |
getDefinition()
Return a LiOResDescription object with the information of each object. |
void |
getTaskInformation(LiOTask task)
Extracts information of the task necessary to create individuals. |
static void |
main(java.lang.String[] args)
Main class to test the class. |
void |
setSize(int pSize)
Set the size of the individuals which are going to be created. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RandomGenerator()
| Method Detail |
|---|
public void getTaskInformation(LiOTask task)
getTaskInformation in interface LiODependentResourcetask - Task which defines size of the created individuals.public void setSize(int pSize)
pSize - Size of the individuals.public Individual[] generate(int nIndividuals)
generate in interface GeneratornIndividuals - Number of individual that must be created.
public LiOResourceDefinition getDefinition()
getDefinition in interface LiOResourcepublic static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||