Database Reference
In-Depth Information
// ---------------------------
// Methods to associate actions with states
// ---------------------------
/**
* Returns state associated to an action.
*
* @param state the state of the action set
* @param action an action applied to the state
* @return the state associated to the action, null if inva-
lid action
* @exception MiningException state set access error
*/
public State getStateFromAction(State state, Action
action)
throws MiningException {
//...Implementation ...//
}
/**
* Returns state-action pairs associated to an action
state. < p >
*
* Inverse method to getStateFromAction.
*
* @param state the action state
* @return array of all state-action pairs with actions
associated to the state,
* null if not found
* @exception MiningException state set access error
*/
public
StateActionVector[]
getActionsFromState(State
state)
throws MiningException {
throw new MiningException("not supported");
}
/**
* Returns all state-action pairs from given initial and
target
* set of states.
*
* @param initStates array of initial states
* @param tarStates array of target (i.e. action) states
* @return array of StateActionVectors
* @throws MiningException
Search WWH ::




Custom Search