chapter 7 Flashcards
What is bottom-up grounding?
To Ground relevant rules by gradually extending the atom base
What is a relavent rule?
when each positive body literal has a non-cyclic derivation
(ignoring negative literals)
Why is bottom-up Grounding in-efficient?
• Re-grounds rules from previous steps
• Performs no simplifications
How do you Perform simplifications during grounding?
• remove literals from rule bodies if possible
• omit rules if body cannot be satisfied
What does it mean when a rule depends on another?
If the body literals of rule 2 unify with the head elements in rule1.
if b ∈ B(r2) + ∪ B(r2)
− unifies with h ∈ h(r1)
What does foreach C in LP mean?
For each Component in a strongly connected component set.
Semi Naive grounding.
Semi Naive grounding originates from database systems [1])
To avoid recomputing the same atoms at each level,
semi-naive grounding focuses on newly generated atoms:
Any new atom at step i relies on at least one atom
newly derived at step i − 1
In relation to prepared rules, what are o, a, and n?
In relation to prepared rules, O is old, A is all, and n is New. You can only have one new atom with each iteration.
Which of the following algorithms only ground relevant rules?
Bottom Up and Semi Naive
Bottom Up grounding regrounds rules many times
True
You can use a dependency graph to reduce the number of rules that are reground, but we still reground some rules.
True
When we simplify a rule on the fly, we remove positive body literals we are sure that are true
True
When we simplify on the fly we remove negative body literals we are sure are true.
False, we remove the positive ones.