pub enum IpType {
Grow,
Random,
Edge,
Node,
}
Expand description
Determines the algorithm used during initial partitioning.
Variants§
Grow
Grows a bisection using a greedy strategy.
Random
Compute a bisection at random followed by a refinement.
Edge
Derives a separator from an edge cut.
Node
Grow a bisection using a greedy node-based strategy.
Trait Implementations§
source§impl Opt for IpType
impl Opt for IpType
source§const INDEX: usize = 3usize
const INDEX: usize = 3usize
Index of the option in the array from
crate::Graph::set_options
and
crate::Mesh::set_options
.source§fn value(self) -> Idx
fn value(self) -> Idx
Convert the value into metis’ format, for use with
crate::Graph::set_options
and crate::Mesh::set_options
.Auto Trait Implementations§
impl Freeze for IpType
impl RefUnwindSafe for IpType
impl Send for IpType
impl Sync for IpType
impl Unpin for IpType
impl UnwindSafe for IpType
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