Skip to content

lack of focus

Tag: #ai

Action Planning Part 2: Rewrite It In Rust

Back in Action Planning in Python, we wrote a simple A* based planner that could solve the problem of boiling water, given a scenario with initial conditions, actions the AI agent can take, and preconditions for those actions. The result was:

Path:
pick up pot
move to sink
turn on faucet
wait
turn off faucet
move to stove
put down pot
turn on stove
goal

In Part 2, we're going to rewrite it in Rust.

Action Planning in Python

Automated planning is a field of AI techniques for determining how to transform the world from an initial state to a goal state. This guide implements a form of classical planning in which we represent the problem domain as a set of state variables that are modified by each action taken.