pub struct PrimalDualBuilder { /* private fields */ }
Implementations§
Source§impl PrimalDualBuilder
impl PrimalDualBuilder
Sourcepub fn new(vsize: usize, esize_expect: usize) -> Self
pub fn new(vsize: usize, esize_expect: usize) -> Self
Examples found in repository?
More examples
Sourcepub fn gen_graph(&mut self) -> BidirectionalSparseGraph
pub fn gen_graph(&mut self) -> BidirectionalSparseGraph
Sourcepub fn build(self, graph: &BidirectionalSparseGraph) -> PrimalDual<'_>
pub fn build(self, graph: &BidirectionalSparseGraph) -> PrimalDual<'_>
Trait Implementations§
Source§impl Clone for PrimalDualBuilder
impl Clone for PrimalDualBuilder
Source§fn clone(&self) -> PrimalDualBuilder
fn clone(&self) -> PrimalDualBuilder
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 PrimalDualBuilder
impl Debug for PrimalDualBuilder
Source§impl Extend<(usize, usize, u64, i64)> for PrimalDualBuilder
impl Extend<(usize, usize, u64, i64)> for PrimalDualBuilder
Source§fn extend<T: IntoIterator<Item = (usize, usize, u64, i64)>>(&mut self, iter: T)
fn extend<T: IntoIterator<Item = (usize, usize, u64, i64)>>(&mut self, iter: T)
Extends a collection with the contents of an iterator. Read more
Source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one
)Extends a collection with exactly one element.
Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
Auto Trait Implementations§
impl Freeze for PrimalDualBuilder
impl RefUnwindSafe for PrimalDualBuilder
impl Send for PrimalDualBuilder
impl Sync for PrimalDualBuilder
impl Unpin for PrimalDualBuilder
impl UnwindSafe for PrimalDualBuilder
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