Struct relp::algorithm::two_phase::tableau::kind::artificial::partially::Partially [−][src]
pub struct Partially<'a, MP: MatrixProvider> { /* fields omitted */ }
Expand description
The TableauType
in case the Tableau
contains artificial variables.
Trait Implementations
impl<'provider, MP> Artificial for Partially<'provider, MP> where
MP: MatrixProvider<Column: IdentityColumn>,
[src]
impl<'provider, MP> Artificial for Partially<'provider, MP> where
MP: MatrixProvider<Column: IdentityColumn>,
[src]fn nr_artificial_variables(&self) -> usize
[src]
fn nr_artificial_variables(&self) -> usize
[src]How many artificial variables are in the tableau. Read more
fn pivot_row_from_artificial(&self, artificial_index: usize) -> usize
[src]
fn pivot_row_from_artificial(&self, artificial_index: usize) -> usize
[src]At which row is the pivot from a specific artificial variable located? Read more
impl<'a, MP: Debug + MatrixProvider> Debug for Partially<'a, MP>
[src]
impl<'a, MP: Debug + MatrixProvider> Debug for Partially<'a, MP>
[src]impl<'a, MP> Kind for Partially<'a, MP> where
MP: MatrixProvider<Column: IdentityColumn>,
[src]
impl<'a, MP> Kind for Partially<'a, MP> where
MP: MatrixProvider<Column: IdentityColumn>,
[src]fn initial_cost_value(&self, j: usize) -> Self::Cost
[src]
fn initial_cost_value(&self, j: usize) -> Self::Cost
[src]Coefficient of variable j
in the objective function.
Arguments
j
: Column index of the variable, in range0
untilself.nr_columns()
.
Return value
The cost of variable j
.
fn original_column(&self, j: usize) -> Self::Column
[src]
fn original_column(&self, j: usize) -> Self::Column
[src]Retrieve an original column.
Arguments
tableau
: Tableau to retrieve the column from.j
: Column index of the variable, in range0
untilself.nr_columns()
.
Return value
The generated column, relative to the basis represented in the Tableau
.
impl<'a, MP: Eq + MatrixProvider> Eq for Partially<'a, MP>
[src]
impl<'a, MP: MatrixProvider> StructuralEq for Partially<'a, MP>
[src]
impl<'a, MP: MatrixProvider> StructuralPartialEq for Partially<'a, MP>
[src]
Auto Trait Implementations
impl<'a, MP> RefUnwindSafe for Partially<'a, MP> where
MP: RefUnwindSafe,
MP: RefUnwindSafe,
impl<'a, MP> Send for Partially<'a, MP> where
MP: Sync,
MP: Sync,
impl<'a, MP> Sync for Partially<'a, MP> where
MP: Sync,
MP: Sync,
impl<'a, MP> Unpin for Partially<'a, MP>
impl<'a, MP> UnwindSafe for Partially<'a, MP> where
MP: RefUnwindSafe,
MP: RefUnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
pub fn equivalent(&self, key: &K) -> bool
[src]Compare self to key
and return true
if they are equal.