public class QValue
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
Action |
a
The action with which this Q-value is associated
|
double |
q
The numeric Q-value
|
State |
s
The state with which this Q-value is associated.
|
Constructor and Description |
---|
QValue()
Default constructor for serialization purposes.
|
QValue(QValue src)
Initialializes this Q-value by copying the information from another Q-value.
|
QValue(State s,
Action a,
double q)
Creates a Q-value for the given state an action pair with the specified q-value
|
public State s
public Action a
public double q
public QValue()
public QValue(State s, Action a, double q)
s
- the statea
- the actionq
- the initial Q-valuepublic QValue(QValue src)
src
- the source Q-value from which to copy.