|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.neat4j.core.distribute.ExperimentServer
public class ExperimentServer
Constructor Summary | |
---|---|
ExperimentServer()
|
Method Summary | |
---|---|
Experiment |
createExperiment()
Gets the next experiment from the queue, if there are none left for the epoch, it will wait until the next epoch starts. |
void |
createServer()
Creates the server socket so incoming connections can be accepted |
void |
finishedExperiment(Experiment e)
When an agent finishes an experiment, experiment stats are updated. |
FitnessFunction |
function()
Makes the relevant fitness function available |
void |
initialise(AIConfig config)
Intialises the server environment |
static void |
main(java.lang.String[] args)
|
void |
returnFailedExperimentToPool(Experiment e)
If a remote Experiment Agent fails to complete an experiment, it must be put back on the queue to be re-assigned |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExperimentServer()
Method Detail |
---|
public void createServer()
public Experiment createExperiment()
public void returnFailedExperimentToPool(Experiment e)
e
- - failed experimentpublic void finishedExperiment(Experiment e) throws ExperimentNotRunException
e
-
ExperimentNotRunException
public void initialise(AIConfig config) throws InitialisationFailedException
initialise
in interface AIController
InitialisationFailedException
- if environment creation failspublic FitnessFunction function()
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |