pub struct PackPolicy {
pub expand_top_k: usize,
pub belief_form: BeliefForm,
pub reserve: Reserve,
}Expand description
§12.3 — pack policy. The expansion score is a function over stored
fields (salience × confidence × recency), no policy network.
Fields§
§expand_top_k: usizeHow many episodes get rendered in full (verbatim).
belief_form: BeliefFormBelief rendering verbosity.
reserve: ReserveFloor/ceiling share per layer.
Implementations§
Source§impl PackPolicy
impl PackPolicy
pub fn for_budget(budget: usize) -> Self
Trait Implementations§
Source§impl Clone for PackPolicy
impl Clone for PackPolicy
Source§fn clone(&self) -> PackPolicy
fn clone(&self) -> PackPolicy
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 moreSource§impl Debug for PackPolicy
impl Debug for PackPolicy
Source§impl<'de> Deserialize<'de> for PackPolicy
impl<'de> Deserialize<'de> for PackPolicy
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PackPolicy
impl RefUnwindSafe for PackPolicy
impl Send for PackPolicy
impl Sync for PackPolicy
impl Unpin for PackPolicy
impl UnsafeUnpin for PackPolicy
impl UnwindSafe for PackPolicy
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