pub struct Chordality {
pub is_chordal: bool,
pub fill_in: Vec<(VertexId, VertexId)>,
pub triangulated: Graph,
}Expand description
Result of Graph::is_chordal_with.
Fields§
§is_chordal: boolWhether the graph is chordal.
fill_in: Vec<(VertexId, VertexId)>The fill-in (chordal completion): edges whose addition makes the graph chordal. Empty for chordal graphs; not necessarily minimal.
triangulated: GraphThe triangulated graph: a copy of the original graph (same directedness) with the fill-in edges appended after the original ones.
Trait Implementations§
Source§impl Clone for Chordality
impl Clone for Chordality
Source§fn clone(&self) -> Chordality
fn clone(&self) -> Chordality
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Chordality
impl Debug for Chordality
Source§impl PartialEq for Chordality
impl PartialEq for Chordality
Source§fn eq(&self, other: &Chordality) -> bool
fn eq(&self, other: &Chordality) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for Chordality
Auto Trait Implementations§
impl !Sync for Chordality
impl Freeze for Chordality
impl RefUnwindSafe for Chordality
impl Send for Chordality
impl Unpin for Chordality
impl UnsafeUnpin for Chordality
impl UnwindSafe for Chordality
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