Yağız Selek
All projects

GOAP Guard Planning · Case study

Replanning from world state.

A goal-oriented action planning exercise that separates observed facts from changes an agent expects its actions to produce.

Describe what is true now

The agent reads sensed world facts separately from facts set by its own actions. This gives the planner a way to reason about the current scene without mistaking an expected effect for something it already observed.

Search possible world states

The planner uses Dijkstra’s algorithm over bitmask world states. Action prerequisites and effects define where each action can take the agent; cumulative cost guides which state it explores next. Patrol and approaching a target are examples of available guard actions.

Recheck assumptions before an action starts

The agent checks feasibility before it starts an action. A failed check invalidates the plan and starts a cooldown before the next planning attempt. This does not claim that every running action is continuously revalidated.

References

Implementation evidence