|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectlearner.Learner
public class Learner
The Learner, an algorithm for MAT learning of a regular tree language.
| Constructor Summary | |
|---|---|
Learner(Teacher teacher)
Creates a new Learern. |
|
| Method Summary | |
|---|---|
FiniteTreeAutomata |
learn()
The main algorithm. |
void |
process(Tree counterexample,
boolean isMember)
Extract information from a counterexample |
void |
processSavedCounterexamples()
|
void |
report()
Print statistic from the last session to standard out. |
void |
setReuseCounterexample(boolean reuseCounterexample)
Decides whether to reuse the counterexamples given. |
void |
setSaveCounterexample(boolean saveCounterexample)
Decides wheter or not to save counterexamples for later use. |
void |
setVerboose(boolean verboose)
|
FiniteTreeAutomata |
synthesize()
Synthesizes the observation table to an fta. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Learner(Teacher teacher)
teacher - the Teacher to query| Method Detail |
|---|
public FiniteTreeAutomata synthesize()
public void process(Tree counterexample,
boolean isMember)
counterexample - a tree which the learner until now has failed to classify
correctlypublic void setVerboose(boolean verboose)
public void setReuseCounterexample(boolean reuseCounterexample)
reuseCounterexample - the new value of reuseCounterexamplepublic void setSaveCounterexample(boolean saveCounterexample)
saveCounterexample - the new value of saveCounterexamplepublic void report()
public FiniteTreeAutomata learn()
public void processSavedCounterexamples()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||