Skip to main content

ContrastiveSolveOnChangeOp

Struct ContrastiveSolveOnChangeOp 

Source
pub struct ContrastiveSolveOnChangeOp;
Expand description

Marker type with a Complexity impl for contrastive_solve_on_change.

The phase-2A orchestrator’s worst-case bound is dominated by the inner solve_on_change call (Linear). For the SubLinear path use contrastive_solve_on_change_sublinear + ContrastiveSolveOnChangeSublinearOp.

Trait Implementations§

Source§

impl Complexity for ContrastiveSolveOnChangeOp

Source§

const CLASS: ComplexityClass

Worst-case complexity class on a single-query call. For iterative solvers this is the per-iter cost; the iteration count is bounded by other configuration (max_iterations, tolerance, ef_construction).
Source§

const DETAIL: &'static str = "Phase-2A: closure (SubLinear) + warm-start solve (Linear) + top-k-in-subset \ (SubLinear). Phase-2B replaces the inner solve with per-entry sublinear-Neumann \ queries scoped to the closure, dropping the orchestrator end-to-end to SubLinear."

Optional human-readable detail for documentation / MCP tool schemas. Defaults to the short label of CLASS. Override when there’s a non-obvious constant or k-bound.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> ComplexityIntrospect for T
where T: Complexity,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V