pub struct BoundedInstance { /* private fields */ }Expand description
Bounded-range instance using LocalKCut oracle
Maintains a family of candidate cuts and uses LocalKCut to find new cuts or certify none exist in the range.
Implementations§
Source§impl BoundedInstance
impl BoundedInstance
Sourcepub fn certificate(&self) -> CutCertificate
pub fn certificate(&self) -> CutCertificate
Get the certificate
Trait Implementations§
Source§impl ProperCutInstance for BoundedInstance
impl ProperCutInstance for BoundedInstance
Source§fn init(_graph: &DynamicGraph, lambda_min: u64, lambda_max: u64) -> Self
fn init(_graph: &DynamicGraph, lambda_min: u64, lambda_max: u64) -> Self
Initialize instance on graph with given bounds Read more
Source§fn apply_inserts(&mut self, edges: &[(EdgeId, VertexId, VertexId)])
fn apply_inserts(&mut self, edges: &[(EdgeId, VertexId, VertexId)])
Apply batch of edge insertions Read more
Source§fn apply_deletes(&mut self, edges: &[(EdgeId, VertexId, VertexId)])
fn apply_deletes(&mut self, edges: &[(EdgeId, VertexId, VertexId)])
Apply batch of edge deletions Read more
Source§fn query(&mut self) -> InstanceResult
fn query(&mut self) -> InstanceResult
Query current minimum proper cut Read more
Auto Trait Implementations§
impl !Freeze for BoundedInstance
impl !RefUnwindSafe for BoundedInstance
impl Send for BoundedInstance
impl Sync for BoundedInstance
impl Unpin for BoundedInstance
impl !UnwindSafe for BoundedInstance
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more