pub struct HotspotPlanner;Expand description
Hotspot evaluator and split planner.
Implementations§
Source§impl HotspotPlanner
impl HotspotPlanner
Sourcepub fn evaluate(
sample: &StationLoadSample,
thresholds: HotspotThresholds,
) -> HotspotDecision
pub fn evaluate( sample: &StationLoadSample, thresholds: HotspotThresholds, ) -> HotspotDecision
Evaluates a station load sample against thresholds.
Sourcepub fn propose_cell_split(
sample: &StationLoadSample,
max_cells_to_move: usize,
) -> SplitProposal
pub fn propose_cell_split( sample: &StationLoadSample, max_cells_to_move: usize, ) -> SplitProposal
Proposes cells to move by selecting the highest-pressure cells first.
Trait Implementations§
Source§impl Clone for HotspotPlanner
impl Clone for HotspotPlanner
Source§fn clone(&self) -> HotspotPlanner
fn clone(&self) -> HotspotPlanner
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HotspotPlanner
Source§impl Debug for HotspotPlanner
impl Debug for HotspotPlanner
Source§impl Default for HotspotPlanner
impl Default for HotspotPlanner
Source§fn default() -> HotspotPlanner
fn default() -> HotspotPlanner
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for HotspotPlanner
impl RefUnwindSafe for HotspotPlanner
impl Send for HotspotPlanner
impl Sync for HotspotPlanner
impl Unpin for HotspotPlanner
impl UnsafeUnpin for HotspotPlanner
impl UnwindSafe for HotspotPlanner
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