akoehn / alto

Other
1 stars 0 forks source link

Accepts works only for Automata that support getRulesBottomUp #12

Open akoehn opened 9 years ago

akoehn commented 9 years ago

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


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 7 years ago

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


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

akoehn commented 9 years ago

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


changed priority from "major" to "minor"

akoehn commented 7 years ago

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


changed state from "new" to "open"