pub struct Aggregation<X, A> {
pub extend: X,
pub aggregate: A,
}Expand description
The functions that turn edge costs into M hidden objectives and those
into K solution objectives.
extendis the path-cost extensionF_ext(g, c): the hidden cost of a path extended by an edge of weightc. It must be monotone ing(g <= g'component-wise givesF_ext(g, c) <= F_ext(g', c)) and never decreaseg. Plain addition is the usual additive case.aggregateis the objective aggregationF_agg: the solution cost of a path’s hidden cost. It must be monotone non-decreasing. The identity is the usual case.
Fields§
§extend: XF_ext.
aggregate: AF_agg.
Trait Implementations§
impl<X: Copy, A: Copy> Copy for Aggregation<X, A>
Auto Trait Implementations§
impl<X, A> Forget for Aggregation<X, A>
impl<X, A> Freeze for Aggregation<X, A>
impl<X, A> Move for Aggregation<X, A>
impl<X, A> RefUnwindSafe for Aggregation<X, A>where
X: RefUnwindSafe,
A: RefUnwindSafe,
impl<X, A> Send for Aggregation<X, A>
impl<X, A> Sync for Aggregation<X, A>
impl<X, A> Unpin for Aggregation<X, A>
impl<X, A> UnsafeUnpin for Aggregation<X, A>where
X: UnsafeUnpin,
A: UnsafeUnpin,
impl<X, A> UnwindSafe for Aggregation<X, A>where
X: UnwindSafe,
A: UnwindSafe,
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