?? rlworld.java
字號:
public interface RLWorld {
// Returns the array containing the information about the
// number of states in each dimension ( [0] - [array.length - 2] )
// and the number of possible actions ( [array.length - 1] ).
int[] getDimension();
// Returns a new instance of the new state that results
// from applying the given action to the current state.
int[] getNextState( int action );
// Returns the value for the last reward received from
// calling the method getNextState( int action ).
double getReward();
// Returns true if the given action is a valid action
// on the current state, false if not.
boolean validAction( int action );
// Returns true if current state is absorbing state, false if not.
boolean endState();
// Resets the current state to the start position and returns that state.
int[] resetState();
// Gets the initial value for the policy.
double getInitValues();
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -