pub struct IterableVertices {
materialized_bdd: Bdd,
state_variables: Vec<BddVariable>,
}
Expand description
A helper struct that we need in order to make GraphVertices
iterable. Elements of such
iterable set are bitvectors, specifically ArrayBitVector
.
Internally, this struct contains a Bdd
that has all parameter variables fixed to false,
so that we only iterate over vertices and can safely disregard colors.
Fields
materialized_bdd: Bdd
state_variables: Vec<BddVariable>
Implementations
sourceimpl IterableVertices
impl IterableVertices
sourcepub fn iter(&self) -> GraphVertexIterator<'_>ⓘNotable traits for GraphVertexIterator<'_>impl Iterator for GraphVertexIterator<'_> type Item = ArrayBitVector;
pub fn iter(&self) -> GraphVertexIterator<'_>ⓘNotable traits for GraphVertexIterator<'_>impl Iterator for GraphVertexIterator<'_> type Item = ArrayBitVector;
Turn this materialized vertex set into an actual iterator.
Trait Implementations
sourceimpl Clone for IterableVertices
impl Clone for IterableVertices
sourcefn clone(&self) -> IterableVertices
fn clone(&self) -> IterableVertices
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl RefUnwindSafe for IterableVertices
impl Send for IterableVertices
impl Sync for IterableVertices
impl Unpin for IterableVertices
impl UnwindSafe for IterableVertices
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more