|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SolutionInterface
This is interface for computing values and policies. Let you implement heavy computations in solveMDP method. Data are read using methods getActionForState and getValueForState by GUI and displayed. Each class implementing this interface must have constructor without arguments. Else the solution cannot be loaded by the main execution class.
Method Summary | |
---|---|
Action |
getActionForState(StudentStateInterface state)
This method is called by the system and provides environment to students. |
double |
getValueForState(StudentStateInterface state)
|
void |
solveMDP(Environment environment)
In this method students obtain environment object. |
Method Detail |
---|
void solveMDP(Environment environment)
environment
- Action getActionForState(StudentStateInterface state)
state
-
double getValueForState(StudentStateInterface state)
state
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |