pub enum WClass {
FPT,
W1,
W2,
W3,
WP,
ParaNP,
}Expand description
W-hierarchy classification.
Variants§
Implementations§
Source§impl WClass
impl WClass
pub fn is_fpt(&self) -> bool
pub fn harder_than_w1(&self) -> bool
pub fn vertex_cover_class() -> Self
pub fn clique_class() -> Self
pub fn dominating_set_class() -> Self
pub fn description(&self) -> &'static str
Trait Implementations§
Source§impl Ord for WClass
impl Ord for WClass
Source§impl PartialOrd for WClass
impl PartialOrd for WClass
impl Eq for WClass
impl StructuralPartialEq for WClass
Auto Trait Implementations§
impl Freeze for WClass
impl RefUnwindSafe for WClass
impl Send for WClass
impl Sync for WClass
impl Unpin for WClass
impl UnsafeUnpin for WClass
impl UnwindSafe for WClass
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