[][src]Trait rusty_planner::planner::SharedStates

pub trait SharedStates: ProblemSpace {
    pub fn is_public(&self, _: &Self::State) -> bool;
pub fn serialize(
        &self,
        msg_type: u8,
        _: &Self::State,
        _: Vec<f64>
    ) -> String;
pub fn deserialize(&self, _: String) -> (u8, Self::State, Vec<f64>); }

Trait for multi-agent/system planning algorithms.

Required methods

pub fn is_public(&self, _: &Self::State) -> bool[src]

Determine if a given state is a public state.

pub fn serialize(&self, msg_type: u8, _: &Self::State, _: Vec<f64>) -> String[src]

Serialize a state into a string.

  • msg_type - Type of the message.
  • state - The state to serialize.
  • para - Vector for parameters such as g, rhs and h values.

pub fn deserialize(&self, _: String) -> (u8, Self::State, Vec<f64>)[src]

Serialize a string into a state.

Loading content...

Implementors

Loading content...