pub struct Loaded {
pub names: Vec<String>,
pub starts: Vec<u32>,
pub ends: Vec<u32>,
pub constants: Vec<u32>,
pub facts: Vec<(usize, Vec<u32>)>,
pub values: Vec<(usize, Vec<u32>, f64)>,
pub goal: Formula,
pub minimize_total_cost: bool,
}Available on crate feature
codegen only.Expand description
A problem, checked against a Signature and grounded.
Fields§
§names: Vec<String>The name of each object, by its number.
starts: Vec<u32>For each type, the number of its first object.
ends: Vec<u32>For each type, one past the number of its last object, subtypes included.
constants: Vec<u32>The number of each constant, in the order of Signature::constants.
facts: Vec<(usize, Vec<u32>)>The facts of the initial state: a predicate index and its arguments.
values: Vec<(usize, Vec<u32>, f64)>The initial values of numeric fluents: a function index, its arguments and the value.
goal: FormulaThe goal.
minimize_total_cost: boolWhether the problem minimizes total-cost, so that action costs count.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Loaded
impl Freeze for Loaded
impl Move for Loaded
impl RefUnwindSafe for Loaded
impl Send for Loaded
impl Sync for Loaded
impl Unpin for Loaded
impl UnsafeUnpin for Loaded
impl UnwindSafe for Loaded
Blanket Implementations§
Source§impl<V, T, O> AcceptMut<V, T, O> for Twhere
V: VisitorMut<T, O>,
impl<V, T, O> AcceptMut<V, T, O> for Twhere
V: VisitorMut<T, O>,
Source§fn accept_mut(&self, v: &mut V) -> O
fn accept_mut(&self, v: &mut V) -> O
Lets the mutable visitor
v visit self.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