pub struct GroundedIndexMap {
pub n: usize,
pub r: usize,
}Expand description
Maps indices between the full [0, n) space and the grounded [0, n−1)
space (row/column r removed). Used by the DC OPF interior point operators
(the kkt feature) to place a grounded solve back into full bus order.
Fields§
§n: usize§r: usizeImplementations§
Trait Implementations§
Source§impl Clone for GroundedIndexMap
impl Clone for GroundedIndexMap
Source§fn clone(&self) -> GroundedIndexMap
fn clone(&self) -> GroundedIndexMap
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 GroundedIndexMap
impl Debug for GroundedIndexMap
impl Copy for GroundedIndexMap
Auto Trait Implementations§
impl Freeze for GroundedIndexMap
impl RefUnwindSafe for GroundedIndexMap
impl Send for GroundedIndexMap
impl Sync for GroundedIndexMap
impl Unpin for GroundedIndexMap
impl UnsafeUnpin for GroundedIndexMap
impl UnwindSafe for GroundedIndexMap
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