#[non_exhaustive]pub struct L2PriorPayload {
pub regime_detected: bool,
pub history_discount_enabled: bool,
pub kl_prior_bias: Vec<f64>,
pub in_fixed_point: bool,
pub lyapunov_potential: f64,
pub lyapunov_veto: bool,
pub alpha: f64,
pub beta: f64,
pub selected_expert: String,
}Available on crate feature
std only.Expand description
L2 policy and stability data supplied to the control plane.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.regime_detected: boolWhether the L2 controller detected a regime change.
history_discount_enabled: boolWhether historical evidence is being discounted.
kl_prior_bias: Vec<f64>Per-action prior biases used by the KL-regularized policy.
in_fixed_point: boolWhether L2 is currently in a fixed-point regime.
lyapunov_potential: f64Current Lyapunov stability potential.
lyapunov_veto: boolWhether the Lyapunov monitor vetoed the proposed update.
alpha: f64L2 learning-rate parameter.
beta: f64L2 regularization parameter.
selected_expert: StringIdentifier of the expert selected by the L2 controller.
Trait Implementations§
Source§impl Clone for L2PriorPayload
impl Clone for L2PriorPayload
Source§impl Debug for L2PriorPayload
impl Debug for L2PriorPayload
Source§impl<'de> Deserialize<'de> for L2PriorPayload
impl<'de> Deserialize<'de> for L2PriorPayload
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 Forget for L2PriorPayload
impl Freeze for L2PriorPayload
impl Move for L2PriorPayload
impl RefUnwindSafe for L2PriorPayload
impl Send for L2PriorPayloadwhere
RawVecInner: Send,
impl Sync for L2PriorPayloadwhere
RawVecInner: Sync,
impl Unpin for L2PriorPayload
impl UnsafeUnpin for L2PriorPayload
impl UnwindSafe for L2PriorPayloadwhere
RawVecInner: UnwindSafe,
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