pub struct Runner { /* private fields */ }Implementations§
Source§impl Runner
impl Runner
pub fn new<S, I>(ctx: &ContextHandle, triggers: I) -> Self
pub fn with_goal<S, I>(self, targets: I) -> Result<Self, AcesError>
pub fn go(&mut self, fset: &FiringSet) -> Result<StopCondition, AcesError>
pub fn get_initial_state(&self) -> &State
pub fn get_current_state(&self) -> &State
pub fn get_goal(&self) -> Option<&Goal>
pub fn get_max_steps(&self) -> usize
pub fn get_firing_sequence(&self) -> &FiringSequence
pub fn goal_is_reached(&self) -> Option<NodeID>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Runner
impl RefUnwindSafe for Runner
impl Send for Runner
impl Sync for Runner
impl Unpin for Runner
impl UnwindSafe for Runner
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