pub fn step(self) -> Option<Self> {
        let id = Id::new();
        let max_threads = self.max_threads;
        let max_history = self.max_history;
        let log = self.log;
        let mut arena = self.arena;
        let mut path = self.path;
        let mut objects = self.objects;

        let mut threads = self.threads;

        objects.clear();

        arena.clear();

        if !path.step() {
            return None;
        }

        threads.clear(id);
        threads.new_thread();

        Some(Execution {
            id,
            path,
            threads,
            objects,
            arena,
            max_threads,
            max_history,
            log,
        })
    }
/// Resets the execution state for the next execution run
Resets the execution state for the next execution run
Resets the execution state for the next execution run
pub fn step(self) -> Option<Self> {
        let id = Id::new();
        let max_threads = self.max_threads;
        let max_history = self.max_history;
        let log = self.log;
        let mut arena = self.arena;
        let mut path = self.path;
        let mut objects = self.objects;
        let mut threads = self.threads;
        objects.clear();
        arena.clear();
        if !path.step() {
            return None;
        }
        threads.clear(id);
        threads.new_thread();
        Some(Execution {
            id,
            path,
            threads,
            objects,
            arena,
            max_threads,
            max_history,
            log,
        })
    }
pub fn step ( self ) -> Option < Self > { let id = Id :: new ( ) ; let max_threads = self . max_threads ; let max_history = self . max_history ; let log = self . log ; let mut arena = self . arena ; let mut path = self . path ; let mut objects = self . objects ; let mut threads = self . threads ; objects . clear ( ) ; arena . clear ( ) ; if ! path . step ( ) { return None ; } threads . clear ( id ) ; threads . new_thread ( ) ; Some ( Execution { id , path , threads , objects , arena , max_threads , max_history , log , } ) }
Resets the execution state for the next execution run
Resets the execution state for the next execution run
self
self