Skip to content
Commit 977d5057 authored by Christoph Schwering's avatar Christoph Schwering
Browse files

Fixed: Setup::GroundBoxes(z) didn't ground for z.

I'm not sure if that really was too bad, because for SSAs, it suffices
to ground for all prefixes of z, because the SSAs do the last step to
situation z.

But not grounding for z leads to weird behavior with SFs: if you add a
sensing result [z]SF(a), this only takes effect once you have grounded
for z. That is, after AddSensingResult(z, a, true), Entail({[z]SF(a)})
fails. This doesn't occur in practice, because we usually perform
queries about Entails({[z.a]A}), which leads to calls GroundBoxes(z.a)
and hence z was grounded.

For performance reasons one may thus want to stick with just grounding
the prefixes of z.
parent 3bbdd863
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment