Open akoehn opened 9 years ago
Original comment by Christoph Teichmann (Bitbucket: cteichmann, GitHub: cteichmann).
I should also check the weight computation for compatibility with top down questions.
Original changes by Christoph Teichmann (Bitbucket: cteichmann, GitHub: cteichmann).
changed priority from "major" to "minor"
Original changes by Christoph Teichmann (Bitbucket: cteichmann, GitHub: cteichmann).
changed state from "new" to "open"
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).