Hi Robert,
unfortunately the list has to be moderated due to automated spam, so it
may take a while for new posts to show up.
> 1. Are the rule layers zero-based or one-based? I believe the latter,
> but am generalizing from little data.
If I recall correctly, in general they are zero-based, but it is
possible under certain circumstances that no rules show up in layer 0.
(Of course we could detect such situations and renumber the layers, but
we felt that it's not worth bothering.)
> 2. The initial state output of the translator: is it semantically
> prior to the running of the axioms?
Yes. For the derived variables, the values specified in the initial
state output of the translator are not actually the values that hold in
the initial state, but rather the default values that these variables
assume when no other value can be derived (i.e. when negation by failure
kicks in).
> I believe so, but wanted to be
> sure. So if I wanted to simulate using the translate output, I should
> run the axiom layer before trying to execute any operators, yes?
Yes indeed.
Cheers,
Malte
Yes. If you want to read more about this, the semantics for this and the
algorithms that Fast Downward uses to evaluate the axioms are described
in the JAIR paper on Fast Downward
(http://ai.cs.unibas.ch/papers/helmert-jair06.pdf) in Section 4,
Definitions 1 and 2 and in Section 5.3.2. (The paper only talks about
binary-valued derived variables since that's all the planner actually
generates, while the code also supports larger domains. But the
generalization is straight-forward.)
Cheers,
Malte