pub struct AigNode { /* private fields */ }Expand description
Node in the and-inverter graph.
Trait Implementations§
Source§impl IntoIterator for AigNode
impl IntoIterator for AigNode
Source§impl MutNetworkNode for AigNode
impl MutNetworkNode for AigNode
Source§impl NetworkNode for AigNode
impl NetworkNode for AigNode
Source§fn num_inputs(&self) -> usize
fn num_inputs(&self) -> usize
Get the number of inputs into this node.
Source§fn function(&self) -> SmallTruthTable
fn function(&self) -> SmallTruthTable
Get the logic function of the node.
Source§fn normalized(self) -> SimplifyResult<Self, Self::NodeId>
fn normalized(self) -> SimplifyResult<Self, Self::NodeId>
Bring the node into a canonical form by reordering and inverting the inputs (if possible).
This increases the effectiveness of structural hashing. Read more
Source§impl NetworkNodeWithReferenceCount for AigNode
impl NetworkNodeWithReferenceCount for AigNode
Source§fn num_references(&self) -> usize
fn num_references(&self) -> usize
Get the number of references to this node.
Source§impl Ord for AigNode
impl Ord for AigNode
Source§impl PartialOrd for AigNode
impl PartialOrd for AigNode
impl Copy for AigNode
impl Eq for AigNode
impl StructuralPartialEq for AigNode
Auto Trait Implementations§
impl Freeze for AigNode
impl RefUnwindSafe for AigNode
impl Send for AigNode
impl Sync for AigNode
impl Unpin for AigNode
impl UnwindSafe for AigNode
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more