| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--jaga.control.Monica
The main evolutionary control module is in charge of:
| Fields inherited from interface islandev.EvolutionaryInteractiveTask | 
REPORT_AVG_FITNESS, REPORT_AVG_MIGRATOR, REPORT_BEST_IND, REPORT_GENERATION, REPORT_POP_DUMP | 
| Constructor Summary | |
Monica(InteractionModel im)
Creates new Monica  | 
|
Monica(InteractionModel im,
       int popLogFreq)
Creates new Monica  | 
|
Monica(InteractionModel im,
       int popLogFreq,
       int maxGenerations)
Creates new Monica  | 
|
| Method Summary | |
 java.lang.Object | 
get(java.lang.Object params)
Used to get output from the task Creates a report of what's going on inside.  | 
 int[] | 
getGenerations()
Sending array itself by reference so could be destroyed.  | 
 int[] | 
getPopulationSizes()
return Array of integers with the sizes of each population  | 
 islandev.SnapshotPainter | 
getSnapshotPainter()
 | 
 islandev.Individual | 
getSolutionTemplate()
return Object of type individual so that we should keep evolving if our current best is smaller than this one using their compareTo method.  | 
 java.lang.String | 
name()
 | 
 java.lang.Object | 
run(java.lang.Object params)
Runs whatever experiment on whatever deployment for whatever generations.  | 
 void | 
set(java.lang.Object paramsAndWhat)
Used to send input to the task  | 
 void | 
setName(java.lang.String pName)
 | 
 java.lang.String | 
toString()
 | 
| Methods inherited from class java.lang.Object | 
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
public Monica(InteractionModel im,
              int popLogFreq,
              int maxGenerations)
popLogFreq - every how many generations to send the whole population
 over to the server to be logged.maxGenerations - after how many generations to stop evolving.
public Monica(InteractionModel im,
              int popLogFreq)
popLogFreq - every how many generations to send the whole population
 over to the server to be logged.public Monica(InteractionModel im)
| Method Detail | 
public java.lang.Object get(java.lang.Object params)
get in interface distrit.InteractiveTaskparams - is equal to "GUI" if gui is getting.1: Vector of Integers of current generations.
2: Vector of Doubles of average fitness.
3: Vector of migrating individuals.
4: String showing performance of best individual.
5: [Optional] Vector with History of array of Populations.
public void set(java.lang.Object paramsAndWhat)
set in interface distrit.InteractiveTaskparamsAndWhat - here will be getting vector of incoming migrators to 
 be added to each population
public java.lang.Object run(java.lang.Object params)
                     throws java.lang.InterruptedException
Note the Evolver must already have the first generation of individuals.
run in interface distrit.Taskparams - Integer saying how many generations of evolutions to run forpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String name()
public void setName(java.lang.String pName)
public int[] getPopulationSizes()
islandev.EvolutionaryInteractiveTaskgetPopulationSizes in interface islandev.EvolutionaryInteractiveTaskpublic islandev.Individual getSolutionTemplate()
getSolutionTemplate in interface islandev.EvolutionaryInteractiveTaskpublic islandev.SnapshotPainter getSnapshotPainter()
getSnapshotPainter in interface islandev.EvolutionaryInteractiveTaskpublic int[] getGenerations()
getGenerations in interface islandev.EvolutionaryInteractiveTaskislandev.EvolutionaryInteractiveTask
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||