pub struct KCliqueEdge {
pub rel_id: RelId,
pub left: VertexId,
pub right: VertexId,
pub left_col: usize,
pub right_col: usize,
}Expand description
Binary relation edge in a planned WCOJ shape.
Fields§
§rel_id: RelIdRelation backing this binary edge.
left: VertexIdLeft endpoint variable.
right: VertexIdRight endpoint variable.
left_col: usizeColumn in rel_id containing KCliqueEdge::left.
right_col: usizeColumn in rel_id containing KCliqueEdge::right.
Implementations§
Source§impl KCliqueEdge
impl KCliqueEdge
Sourcepub fn touches(&self, other: &KCliqueEdge) -> bool
pub fn touches(&self, other: &KCliqueEdge) -> bool
True when the two edges share at least one endpoint variable.
Trait Implementations§
Source§impl Clone for KCliqueEdge
impl Clone for KCliqueEdge
Source§fn clone(&self) -> KCliqueEdge
fn clone(&self) -> KCliqueEdge
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 KCliqueEdge
impl Debug for KCliqueEdge
Source§impl PartialEq for KCliqueEdge
impl PartialEq for KCliqueEdge
impl Eq for KCliqueEdge
impl StructuralPartialEq for KCliqueEdge
Auto Trait Implementations§
impl Freeze for KCliqueEdge
impl RefUnwindSafe for KCliqueEdge
impl Send for KCliqueEdge
impl Sync for KCliqueEdge
impl Unpin for KCliqueEdge
impl UnsafeUnpin for KCliqueEdge
impl UnwindSafe for KCliqueEdge
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more