cost-partition
Saturated cost partitioning and its maximum over orders for admissible planning heuristics over arbitrary abstractions
cargo add cost-partition Who it is for
- Authors of optimal classical planners who have several abstraction heuristics (pattern databases, merge-and-shrink, Cartesian or their own) and want an admissible combination that is usually stronger than taking their maximum.
- Researchers comparing cost partitioning strategies: the saturated cost function of every abstraction is exposed (
cost_functions), and any type that implementssas_plus::Abstractioncan take part. - Teams that plan on embedded hardware, since the crate is
no_stdand has a single dependency. - For the abstractions themselves, use sas-plus (projections) and merge-and-shrink; for landmark cost partitioning, LM-cut or operator counting, planning-heuristics, which also wraps this crate's heuristics for its
Heuristictrait.
Part of the planning and search crates; see also this crate's overview page.
Algorithms 1
- Saturated cost partitioning SCP · maximum over orders
Splits operator costs greedily among any sas_plus abstractions in a given order, and takes the maximum over several orders.
saturated_cost_partitioningCostPartitionedHeuristicMaxOverOrders