public class MPEnvironment extends java.lang.Object implements Environment
This is the typical example for a single step problem, the multiplexer.
Constructor and Description |
---|
MPEnvironment()
It is the constructor of the class.
|
Modifier and Type | Method and Description |
---|---|
void |
beginSequentialExamples()
It initializes the first example.
|
int |
getCurrentClass()
Return the class of the environmental state.
|
double[] |
getCurrentState()
The function returns the current state.
|
int |
getNumberOfExamples()
It returns the number of examples of the database.
|
double[] |
getSequentialState()
It returns the new Example of a single step file environment.
|
double[] |
newState()
Creates a new example of the problem.
|
public MPEnvironment()
public double[] getCurrentState()
getCurrentState
in interface Environment
public double[] newState()
newState
in interface Environment
public int getCurrentClass()
getCurrentClass
in interface Environment
public void beginSequentialExamples()
beginSequentialExamples
in interface Environment
public double[] getSequentialState()
getSequentialState
in interface Environment
public int getNumberOfExamples()
getNumberOfExamples
in interface Environment