Enum dypdl::ReduceFunction
source · pub enum ReduceFunction {
Min,
Max,
Sum,
Product,
}Expand description
How to compute the value of a state given applicable transitions.
Variants§
Min
Minimum of the evaluation values of the cost expressions of applicable transitions.
Max
Maximum of the evaluation values of the cost expressions of applicable transitions.
Sum
Sum of the evaluation values of the cost expressions of applicable transitions.
Product
Product of the evaluation values of the cost expressions of applicable transitions.
Trait Implementations§
source§impl Clone for ReduceFunction
impl Clone for ReduceFunction
source§fn clone(&self) -> ReduceFunction
fn clone(&self) -> ReduceFunction
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ReduceFunction
impl Debug for ReduceFunction
source§impl PartialEq for ReduceFunction
impl PartialEq for ReduceFunction
source§fn eq(&self, other: &ReduceFunction) -> bool
fn eq(&self, other: &ReduceFunction) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for ReduceFunction
impl StructuralEq for ReduceFunction
impl StructuralPartialEq for ReduceFunction
Auto Trait Implementations§
impl RefUnwindSafe for ReduceFunction
impl Send for ReduceFunction
impl Sync for ReduceFunction
impl Unpin for ReduceFunction
impl UnwindSafe for ReduceFunction
Blanket Implementations§
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