art.cs
Interface Effector

All Known Implementing Classes:
ActionController

public interface Effector

This interface is accessed by the user to obtain the actions to perform in the simulated environment. An instance of class implementing Effector can be obtained invoking the method CsManager.getEffector().

Author:
Marco Lamieri and Gianluigi Ferraris

Method Summary
 int[] getNextAction()
          Used to obtain the next action selected by the cs, codified as an array of integer where the wildcard # (meaning do not care) is the value "2".
 boolean hasNext()
          If there is at least one more action to be evaluated.
 

Method Detail

getNextAction

public int[] getNextAction()
Used to obtain the next action selected by the cs, codified as an array of integer where the wildcard # (meaning do not care) is the value "2". Each action must be evaluated and reward must be set by CsManager.setReward(double)

Returns:
selected action.

hasNext

public boolean hasNext()
If there is at least one more action to be evaluated.

Returns:
if there is one more action.