jaga.deploy
Interface Deployment

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
SimulatorDeployment

public interface Deployment
extends java.io.Serializable

A deployment is a testbed for where experiments can be done. This is the raw material we're working on, it may be hardware or software, it takes inputs and returns outputs depending on its configuration.


Method Summary
 int getRecommendedInputSampleSeparation()
          returns a suggested value for what the sample separation of inputs to this deployment should be compared to a default output sample separation of 1.
 void program(BitSet genotype)
          initialize the configuration of this deployment based on this genotype
 SampleData[] run(SampleData[] input)
          send the inputs and record the outputs
 void setEnvironment(java.lang.Object value)
          Method to modify the conditions of this deployment.
 

Method Detail

run

public SampleData[] run(SampleData[] input)
send the inputs and record the outputs

program

public void program(BitSet genotype)
initialize the configuration of this deployment based on this genotype

getRecommendedInputSampleSeparation

public int getRecommendedInputSampleSeparation()
returns a suggested value for what the sample separation of inputs to this deployment should be compared to a default output sample separation of 1.

setEnvironment

public void setEnvironment(java.lang.Object value)
Method to modify the conditions of this deployment. For example this may be used so that between trials in a robot arena all positions of objects are randomized to the same place for individuals of the same generations and different places for individuals of different generations.