sample_planning 0.0.4

Sample Based Planner
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::planner_param::Param;
use crate::states::States;
use crate::control::Control;

pub trait Planner <TS,TC,TObs> where TS: States, TC: Control, TObs: States {
    fn plan_iteration( & mut self, iteration: Option<u32> ) -> bool;
    fn get_trajectories( & self ) -> &[TObs];
    fn get_trajectories_edges( & self ) -> &[((TObs,TObs),u32)];
    fn get_trajectory_best_edges( & self ) -> &[((TObs,TObs),u32)];
    fn get_param( & self ) -> Param<TS,TC,TObs>;
    fn get_states_current( & self ) -> Option<TS>;
    fn get_witness_pairs( & self ) -> &[(TObs,TObs)];
    fn get_trajectories_mo_prim_candidates( & self ) -> &[(TObs,TObs)];
    fn plan_init_imp_samp( & mut self );
    fn get_sampling_distr( & self ) -> &[TObs];
}