Final: Logic Flashcards
(L18) Explain the STRIPS assumption
All features not explicitly changed by an action stay unchanged
(L18) Represent a planning problem with the STRIPS representation
Preconditions: Set of assignments must be satisfied for the action to be legal
Effects: Assignments caused by the action
(L18) Planning problem: State Goal Successor function Solution
State: Agent in a possible world. All variables have an assignment
Goal: A possible world with specific assignments
Successor function: Actions that take agent from one state to the other
Solution: A sequence of actions to the goal
(L18) What are arcs, and plan?
Arcs: Actions that are legal from that state
Plan: A sequence of actions
(L18) What is empty-delete-list?
Remove all the effects that make a variable false
(L18) What is a subgoal?
Particular assignment in the goal
(L18) What simplifications do we take for Forward Planning under STRIPS?
- All features are binary: T/F
2. Preconditions and goals can only be assignments to T
(L18) Heuristic for planning
Number of actions from a state to the goal
(L18) What are the steps to translate a planning problem represented in STRIPS into a CSP problem (and vice versa? (3 steps)
- Construct a CSP variable for each STRIPS variable at each time step
from 0 to k. - Construct a boolean CSP variable (action taken of not taken) for each STRIPS action (eg. a_1, a_2) at each time step from 0 to k - 1.
- Construct CSP constraints corresponding to start and goal values, preconditions and effects of actions.
(L18) What type of constraints are needed to translate from STRIPS to CSP problem?
- Initial constraints: Constrain state variable at time 0.
- Goal constraints: constrain state variables at time k.
- Precondition constraints
between states and actions at time t
specify which actions may be taken (ONE PER ACTION VARIABLE) - Effect constraints:
Between state, actions variables at time t and state variables at time t + 1. (ONE PER STATE VARIABLE AT TIME T + 1)
Explains Actions(t) + State(t) → State(t+1) - Mutual Exclusion constraints: Actions that cannot occur simultaneously
- State constraints:
Between variables at the same time step
Capture physical constraints of the system
Can encode maintenance goals
(L18) Solve a planning problem with CSP by expanding the horizon.
Expand the constraint network one “time step” at a time. (i.e. “unrolling the horizon”), until a solution is found.
(L18) Given that the CSP return a solution, are there shorter solutions?
IF THE CSP STOPS AND RETURNS A SOLUTION OF LENGTH K, THEN THERE ARE NO SHORTER SOLUTIONS
(L18) How do we know a logical statement belongs to the language of full propositional logic?
~ Negation, and conjunction, or disjunction, –> implication, biconditional
(L18) How do we use logics to make inferences?
Using logics to Make inferences
1. Begin with a task domain
Distinguish those things you want to reason about
Choose symbols in the computer to denote propositions
Tell the system knowledge about the domain
Ask the system whether new statements about the domain are true or false
(L18) When a logical statement belongs to the language of propositional definite clauses?
- True statements
2. True statements given other true statements