pub struct RenderWhy {
pub learned: bool,
pub p: f64,
pub value: f64,
pub charge: f64,
}Expand description
一次渲染决策的依据(写进 metadata.pagesift.plan)。
Fields§
§learned: bool是否来自学到的后验(否则是冷启动的启发式)。
p: f64§value: f64一次增益的价值。0.91 起恒为 1(以“一次增益“为单位);0.90 取 1 − Q_http,
把相对质量分当成了绝对的“不完整概率“(见 RenderPlanner::decide)。
charge: f64Trait Implementations§
impl Copy for RenderWhy
impl StructuralPartialEq for RenderWhy
Auto Trait Implementations§
impl Forget for RenderWhy
impl Freeze for RenderWhy
impl RefUnwindSafe for RenderWhy
impl Send for RenderWhy
impl Sync for RenderWhy
impl Unpin for RenderWhy
impl UnsafeUnpin for RenderWhy
impl UnwindSafe for RenderWhy
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