Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
All algorithms

GA over SAS+ Plans

Also known as EvoPlan fitness cascade

search evolutionary-planning

This method searches for a cheap plan of a SAS+ planning task (a task over multi-valued state variables and operators with preconditions, effects and costs) with a steady-state genetic algorithm. A genome is a variable-length chain of operator ids. To decode it, the method simulates the task from the initial state: by default it skips each operator that is not applicable (phenotypic repair) and stops at the first goal state. A valid plan costs its plan cost. An invalid chain costs a large penalty plus the number of unsatisfied goal facts plus the fraction of the chain that does not execute, so near-misses rank above far misses (a fitness cascade). Optionally, genotypic repair writes the executed plan back into the chain. Every returned plan is valid, but it is not guaranteed to be optimal; use it when a valid plan is enough or as a baseline for heuristic search.

Pseudocode

algorithm GA-SAS+(Π, N, L)input: SAS+ task Π, population size N, longest chain Loutput: a valid plan and its cost, or failureP ← N applicable random walks from the initial state of Π, each scoredrepeat                                          ▷ steady statea, b ← tournament(P, 3), tournament(P, 3)for each c in cut-and-splice(a, b) do           ▷ with rate 0.6, else copiesmutate(c)                                   ▷ insert, delete, replace, shift or invert genesPlanRepair(c)                               ▷ optional: write the executed plan backreplace the worst member of P by (c, score(c))until budget exhaustedπ, valid ← decode(the cheapest chain of P)if not valid thenreturn failurereturn π, cost(π)function decode(c)s ← initial state of Ππ ← ⟨⟩for each o in c doif goal(s) thenbreakif applicable(o, s) then                      ▷ otherwise skip os ← apply(o, s)append o to πreturn π, goal(s)function score(c)π, valid ← decode(c)if valid thenreturn cost(π)return PENALTY + unsatisfied-goals(π) + (1 − |π| / |c|)

In the crates

  • evolutionary-planning feature sas-plus

    Genetic search over SAS+ action chains decoded by simulating the task, scored by EvoPlan's fitness cascade and repaired phenotypically or genotypically.

    solvePlanRepair

Lineage

Comes from

specializes Genetic Algorithm

Led to

Nothing on this site.

Papers

  1. EvoPlan: Evolutionary Neuro-Symbolic Robot Planning with Spatio-Temporal Guarantees Bhavya Sai Nukapotula, Samin Moosavi, Haoze Wang, Luke Duncan, Diya Shakkottai, Varun Murali, Srinivas Shakkottai · 2026 introduces arXiv 2607.06724
  2. Applying Evolutionary Algorithms Successfully: A Guide Gained from Real-world Applications Wilfried Jakob · 2021 survey arXiv 2107.11300