Struct genetic_planner::genetic_planner::Plan [] [src]

pub struct Plan<T> where T: State + Clone + Send + Sync + 'static {
    pub state: T,
    pub actions: Vec<Action<T>>,
}

Contains the actions of a Plan

Fields

state: T

State reached using the actions, the first state is State::get_initial_state()

actions: Vec<Action<T>>

Actions of the Plan

Methods

impl<T> Plan<T> where T: State + Clone
[src]

fn new(state: T) -> Plan<T>

Create a new Action