pub struct AigEdge { /* private fields */ }
Implementations§
Source§impl AigEdge
impl AigEdge
pub fn new(id: usize, complement: bool) -> Self
pub fn node_id(&self) -> usize
pub fn compl(&self) -> bool
pub fn set_nodeid(&mut self, nodeid: usize)
pub fn set_compl(&mut self, compl: bool)
pub fn not_if(self, x: bool) -> Self
pub fn constant(polarity: bool) -> Self
pub fn is_const(&self) -> bool
pub fn is_constant(&self, polarity: bool) -> bool
pub fn try_to_constant(self) -> Option<bool>
pub fn to_constant(self) -> bool
pub fn from_lit(lit: Lit) -> Self
pub fn to_lit(&self) -> Lit
pub fn map<M>(&self, map: &M) -> Self
Trait Implementations§
Source§impl Ord for AigEdge
impl Ord for AigEdge
Source§impl PartialOrd for AigEdge
impl PartialOrd for AigEdge
impl Copy for AigEdge
impl Eq for AigEdge
impl StructuralPartialEq for AigEdge
Auto Trait Implementations§
impl Freeze for AigEdge
impl RefUnwindSafe for AigEdge
impl Send for AigEdge
impl Sync for AigEdge
impl Unpin for AigEdge
impl UnwindSafe for AigEdge
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