Struct rta_for_fps_lib::window::Window [−][src]
Expand description
Type representing a Window based on the papers Definition 1.
With an extra Type Parameter to indicate the Window type
Fields
start: TimeUnit
The Start point of the Window
end: WindowEnd
The End Point of the Window
Implementations
Calculate the window length as defined in Definition 1. of the paper
Calculate the overlap (Ω) of two windows as defined in Definition 2. of the paper
Determine if two windows are adjacent, a special case of overlapping
Used by AggregationIterator
to take advantage of the relaxed invariant of CurveIterator
as opposed to Curve
pub fn delta<Q: WindowType>(
supply: &Self,
demand: &Window<Q>
) -> WindowDeltaResult<T, Q> where
T: WindowType,
pub fn delta<Q: WindowType>(
supply: &Self,
demand: &Window<Q>
) -> WindowDeltaResult<T, Q> where
T: WindowType,
Calculate the Window delta as defined in Definition 6. of the paper
Calculate the Budget Group that the window falls into given a splitting interval
See Section 6.2 §3
Calculate the aggregation (⊕) of two windows as defined in Definition 4. of the paper
Trait Implementations
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more