edu.cmu.cs.coral.icf
Interface FeedbackGenerator


public abstract interface FeedbackGenerator

Generates Feedback from the information in the simulator of an appropriate form for the simulator in use. The type of Feedback extracted from the simulator depends on the form of Feedback usedul to the Controller. For example, a reinforcement controller might take reward signals as feedback while a planner might take changes in state as feedback.

Since:
ICF 0.0
Version:
$Id$

Method Summary
 void connectToSimulator(Simulator sim)
          Used to connect to the simulator.
 void disconnectFromSimulator(Simulator sim)
          Used to disconnect from a Simulator.
 Feedback generateFeedback()
          Gathers Feedback from thre current Simulator.
 

Method Detail

connectToSimulator

public void connectToSimulator(Simulator sim)
Used to connect to the simulator. All work for connecting to the simulator should be done here and NOT in the constructor for this FeedbackGenerator.
Parameters:
sim - the simulator to connect to
Since:
ICF 0.0

generateFeedback

public Feedback generateFeedback()
Gathers Feedback from thre current Simulator. May only be called after calling connectToSimulator and before calling disconnectFromSimulator.
Since:
ICF 0.0

disconnectFromSimulator

public void disconnectFromSimulator(Simulator sim)
Used to disconnect from a Simulator.
Parameters:
sim - the simulator to disconnect from
Since:
ICF 0.0