|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectlearner.FiniteTreeAutomata
learner.CartesianFTA
public class CartesianFTA
A cartesian FTA simply consists of two regular FTA's which are run in parallell.
FiniteTreeAutomata| Nested Class Summary | |
|---|---|
class |
CartesianFTA.CartesianState
Another utility class, contains a tuple of regular states. |
| Field Summary |
|---|
| Fields inherited from class learner.FiniteTreeAutomata |
|---|
name |
| Constructor Summary | |
|---|---|
CartesianFTA(FiniteTreeAutomata A,
FiniteTreeAutomata B)
Constructs a new Caretesian FTA from two regular FTAs. |
|
| Method Summary | |
|---|---|
boolean |
accepts(Tree t)
The method accepts returns true if the argument is in the language, and otherwise false. |
Tree |
getCounterexample()
Find a large tree on which the internal ftas disagree. |
| Methods inherited from class learner.FiniteTreeAutomata |
|---|
getAccepting, getSignature, getStates, getTable, run, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CartesianFTA(FiniteTreeAutomata A,
FiniteTreeAutomata B)
A - a finite tree automataB - and its mate!| Method Detail |
|---|
public boolean accepts(Tree t)
FiniteTreeAutomatarun on the argument tree.
accepts in class FiniteTreeAutomatat - the labelled tree that is to be tested for membership
tree is in the target language, false
otherwise.public Tree getCounterexample()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||