lnsc.page
Interface ActionRepresentation

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

public interface ActionRepresentation
extends java.io.Serializable

Action representation converter, use to convert an Action into a real-vector.

Action representations are assumed serializable (only information about how to generate the representation)!


Method Summary
 int getOutputCount()
          Indicates the number of values in the action representation.
 double[] getRepresentation(Action a)
          Converts the Action into a vector of real based on specific representation.
 

Method Detail

getOutputCount

public int getOutputCount()
Indicates the number of values in the action representation.

Returns:
Number of outputs.

getRepresentation

public double[] getRepresentation(Action a)
Converts the Action into a vector of real based on specific representation.

Parameters:
a - Action to be converted.
Returns:
Real-vector representation of the Action.