pub struct ComputeBudget {
pub max_time: Duration,
pub max_partitions: u64,
pub max_memory: usize,
pub approximation_ratio: f64,
}Expand description
Compute budget for consciousness computations.
Fields§
§max_time: DurationMaximum wall-clock time.
max_partitions: u64Maximum partitions to evaluate (0 = unlimited).
max_memory: usizeMaximum memory in bytes (0 = unlimited).
approximation_ratio: f64Target approximation ratio (1.0 = exact, <1.0 = approximate).
Implementations§
Trait Implementations§
Source§impl Clone for ComputeBudget
impl Clone for ComputeBudget
Source§fn clone(&self) -> ComputeBudget
fn clone(&self) -> ComputeBudget
Returns a duplicate of the value. Read more
1.0.0 · 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 ComputeBudget
impl Debug for ComputeBudget
Source§impl Default for ComputeBudget
impl Default for ComputeBudget
Source§impl<'de> Deserialize<'de> for ComputeBudget
impl<'de> Deserialize<'de> for ComputeBudget
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 ComputeBudget
impl RefUnwindSafe for ComputeBudget
impl Send for ComputeBudget
impl Sync for ComputeBudget
impl Unpin for ComputeBudget
impl UnsafeUnpin for ComputeBudget
impl UnwindSafe for ComputeBudget
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