## Uses of Class
jmarkov.basic.DecisionRule

- Packages that use DecisionRule
  Package | Description
  --- | ---
  jmarkov.basic | This package contains basic elements such as State, Event, Action that are used in jMarkov and jMDP
  jmarkov.jmdp.solvers | This package contins the framwork of solvers used by jMDP to solve Markov Decision Processes.

- - ### Uses of DecisionRule in jmarkov.basic

    Methods in jmarkov.basic that return DecisionRule
    Modifier and Type | Method and Description
    --- | ---
    `DecisionRule<S,A>` | Policy.`getDecisionRule()`
    `DecisionRule<S,A>` | Policy.`getDecisionRule(int t)` Returns the decision rule for statge t

    Methods in jmarkov.basic with parameters of type DecisionRule
    Modifier and Type | Method and Description
    --- | ---
    `void` | Policy.`setDecisionRule(DecisionRule<S,A> pol)` Sets a unique decision rule for the policy, for infinite horizon problems.
    `void` | Policy.`setDecisionRule(DecisionRule<S,A> dr, int t)` Sets a decision rule for stage t in the policy

    Constructors in jmarkov.basic with parameters of type DecisionRule
    Constructor and Description
    `DecisionRule(DecisionRule<S,A> dr)` Creates a decision rule from a given one
    `Policy(DecisionRule d)` Creates a stationary policy with the given decition rule

  - ### Uses of DecisionRule in jmarkov.jmdp.solvers

    Constructors in jmarkov.jmdp.solvers with parameters of type DecisionRule
    Constructor and Description
    `ProbabilitySolver(CTMDP<S,A> problem, DecisionRule<S,A> dr)` Initializes a new solver for continuous chains and solves the probabilities for a particular decision rule.
    `ProbabilitySolver(DTMDP<S,A> problem, DecisionRule<S,A> dr)` Initializes a new solver for discrete chains