pub struct PSFPolisherTrace {
pub swaps: Vec<usize>,
pub psr_scores: Vec<f64>,
pub taken_before: usize,
}Expand description
Trace information for PointSpreadFilter
Fields§
§swaps: Vec<usize>Which swap was recommended by each iteration.
psr_scores: Vec<f64>The list of PSR scores before and after each iteration. This vector will be one element longer than swaps because it includes the initial and final PSRs.
taken_before: usizeThe filter applied all swaps swaps[0..taken_before] leaving the PSR psr_scores[taken_before].
Trait Implementations§
Source§impl Debug for PSFPolisherTrace
impl Debug for PSFPolisherTrace
Auto Trait Implementations§
impl Freeze for PSFPolisherTrace
impl RefUnwindSafe for PSFPolisherTrace
impl Send for PSFPolisherTrace
impl Sync for PSFPolisherTrace
impl Unpin for PSFPolisherTrace
impl UnwindSafe for PSFPolisherTrace
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