#include <learner.h>
void ZGen::ShiftReduce::Learner::finish_learning |
( |
int |
now | ) |
|
void ZGen::ShiftReduce::Learner::learn |
( |
const StateItem * |
last_state_of_predict_chain, |
|
|
const StateItem * |
last_state_of_correct_chain |
|
) |
| |
Perform learning process.
- Parameters
-
[in] | last_state_of_predict_chain | The last state in state chain for postive result. |
[in] | last_state_of_correct_chain | The last state in state chain for negative result. |
void ZGen::ShiftReduce::Learner::set_timestamp |
( |
int |
timestamp | ) |
|
Set timestamp to the learner.
- Parameters
-
[in] | timestamp | The time stamp. |
The documentation for this class was generated from the following files: