Skip to content

lack of focus

Tag: #rust

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.