pub struct PlanOutcome {
pub plan: Option<Vec<OpId>>,
pub cost: Option<u64>,
pub outcome: Outcome<Vec<OpId>>,
}Expand description
The result of solve.
Fields§
§plan: Option<Vec<OpId>>The best valid plan found, decoded (only executed operators); None if no chain
reached the goal.
cost: Option<u64>Its cost, equal to task.validate_plan(plan).
outcome: Outcome<Vec<OpId>>The raw GA outcome over chains.
Trait Implementations§
Source§impl Clone for PlanOutcome
impl Clone for PlanOutcome
Source§impl Debug for PlanOutcome
impl Debug for PlanOutcome
Source§impl PartialEq for PlanOutcome
impl PartialEq for PlanOutcome
impl StructuralPartialEq for PlanOutcome
Auto Trait Implementations§
impl Forget for PlanOutcome
impl Freeze for PlanOutcome
impl Move for PlanOutcome
impl RefUnwindSafe for PlanOutcome
impl Send for PlanOutcome
impl Sync for PlanOutcome
impl Unpin for PlanOutcome
impl UnsafeUnpin for PlanOutcome
impl UnwindSafe for PlanOutcome
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more