coli-saar / alto

Alto, the Algebraic Language Toolkit
Other
16 stars 2 forks source link

Accepts works only for Automata that support getRulesBottomUp #12

Open akoehn opened 8 years ago

akoehn commented 8 years ago

Original report by Christoph Teichmann (Bitbucket: cteichmann, GitHub: CTNLP).


TreeAutomaton.accepts(Tree) relies on run(Tree) which in turn relies on runRaw(Tree), which only works if the automaton supports getRulesBottomUp, in the interest of supporting specialized implementations the method should check what kind of queries the the automaton actually supports and then use an analogue of run(Tree) which works top down instead of bottom up (even if that means that we may be unable to exploit bottom up determinism).

akoehn commented 6 years ago

Original comment by Christoph Teichmann (Bitbucket: cteichmann, GitHub: CTNLP).


I should also check the weight computation for compatibility with top down questions.

akoehn commented 8 years ago

Original changes by Christoph Teichmann (Bitbucket: cteichmann, GitHub: CTNLP).


changed priority from "major" to "minor"

akoehn commented 6 years ago

Original changes by Christoph Teichmann (Bitbucket: cteichmann, GitHub: CTNLP).


changed state from "new" to "open"