protected class RTRLLearnerFactory.InitialState
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected int |
index
The index into the layer at which this initial state is found
|
protected int |
k
The node in z into which this state will be fired
|
protected ContextLayer |
layer
The context layer that this state is associated with
|
Constructor and Description |
---|
RTRLLearnerFactory.InitialState(ContextLayer layer,
int index,
int k)
Create a new initial state
|
Modifier and Type | Method and Description |
---|---|
void |
addInitialState(double delta)
Change the initial state by adding to it, also update the state's delta
|
double |
getInitialState()
Get the initial state
|
void |
setInitialState(double initialState)
Set the initial state
|
protected ContextLayer layer
protected int index
protected int k
public RTRLLearnerFactory.InitialState(ContextLayer layer, int index, int k)
layer
- the context layer from which the initial state firesindex
- the index into that layer from which it firesk
- the index of the node from which it firespublic void setInitialState(double initialState)
public double getInitialState()
public void addInitialState(double delta)
Submit Feedback to pmarrone@users.sourceforge.net