[][src]Struct flag_algebra::FlagSolver

pub struct FlagSolver<F> {
    pub optimal_value: Option<f64>,
    // some fields omitted
}

A higher level object to try several selectors on a problem

Fields

optimal_value: Option<f64>

Implementations

impl<F> FlagSolver<F> where
    F: Flag
[src]

pub fn new<S: Into<String>>(pb: Problem<f64, F>, name: S) -> Self[src]

Create a new instance that owns a problem

pub fn protect(self, i: usize) -> Self[src]

Prevents inequality i to be ruled out

pub fn init(&mut self)[src]

pub fn run(&mut self, select: Selector) -> Result<(), ()>[src]

pub fn minimize_certificate(&mut self)[src]

Try to minimize using the certificate

pub fn cs_elim(&mut self)[src]

Try to remove each cauchy_schwarz to see if they are useful

pub fn thin_cs_elim(&mut self)[src]

pub fn ineqs_elim(&mut self)[src]

pub fn thin_ineqs_elim(&mut self)[src]

pub fn print_report(&self) where
    F: Draw
[src]

pub fn minimize_once(&mut self) where
    F: Draw
[src]

pub fn minimize(&mut self) where
    F: Draw
[src]

pub fn minimize2(&mut self) where
    F: Draw
[src]

pub fn minimize3(&mut self) where
    F: Draw
[src]

Trait Implementations

impl<F: Clone> Clone for FlagSolver<F>[src]

impl<F: Debug> Debug for FlagSolver<F>[src]

Auto Trait Implementations

impl<F> !RefUnwindSafe for FlagSolver<F>

impl<F> !Send for FlagSolver<F>

impl<F> !Sync for FlagSolver<F>

impl<F> Unpin for FlagSolver<F> where
    F: Unpin

impl<F> !UnwindSafe for FlagSolver<F>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

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