pub trait EstimateModifier<State, Goal, Cost> {
type EstimateModifierError;
// Required method
fn modify_remaining_cost_estimate(
&self,
from_state: &State,
to_goal: &Goal,
original_estimate: Cost,
) -> Result<Option<Cost>, Self::EstimateModifierError>;
}Required Associated Types§
Sourcetype EstimateModifierError
type EstimateModifierError
What kind of error can happen if a bad input is provided