pub trait RelaxedPlan: GoalCount {
// Required method
fn relaxed_plan_features(&self, state: &Self::State, out: &mut Vec<u32>);
}Expand description
Relaxed-plan information used by bfws_r to compute #r.
Required Methods§
Sourcefn relaxed_plan_features(&self, state: &Self::State, out: &mut Vec<u32>)
fn relaxed_plan_features(&self, state: &Self::State, out: &mut Vec<u32>)
Push into out the features a relaxed plan from state makes true,
for example the add effects of its actions (LAPKT’s choice).
Push nothing when the goal is unreachable even under the relaxation.
Features already true in state are ignored by the search.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl RelaxedPlan for SasProblem<'_>
The relaxed plan is extracted from h_add best supporters, and its
features are all effects of its operators, as in LAPKT. Axioms on the way
are followed but contribute no features of their own.