[][src]Trait rusty_planner::iterative_repair::Problem

pub trait Problem {
    type Conflict;
    type Iter: Iterator<Item = (Self::Conflict, f64)>;
    pub fn find_conflicts(&self) -> Self::Iter;
pub fn fix_conflict(&mut self, _: &Self::Conflict); }

Trait to be implemented for iterative repair.

Associated Types

type Conflict[src]

Type defining a conflict.

type Iter: Iterator<Item = (Self::Conflict, f64)>[src]

Iterator to loop over the conflicts - uses tuple with 2nd item defining a priority.

Loading content...

Required methods

pub fn find_conflicts(&self) -> Self::Iter[src]

Function to find all conflicts in the problem space.

pub fn fix_conflict(&mut self, _: &Self::Conflict)[src]

Routine to fix a particular conflict.

Loading content...

Implementors

Loading content...