The Original CHomP Software
Public Member Functions | Private Attributes | List of all members
chomp::homology::NeighborsBdd< cubetype, settype > Class Template Reference

This is a class used by the classes "Acyclic1d", "Acyclic2d", and "Acyclic3d" to use binary decision diagrams for the verification if a cubical neighborhood of a cube in the class "bincube" is acyclic. More...

#include <bincube.h>

Public Member Functions

 NeighborsBdd (const cubetype &middle, const settype &cset)
 
bool check (int n) const
 

Private Attributes

const cubetype & q
 
const settype & s
 

Detailed Description

template<class cubetype, class settype>
class chomp::homology::NeighborsBdd< cubetype, settype >

This is a class used by the classes "Acyclic1d", "Acyclic2d", and "Acyclic3d" to use binary decision diagrams for the verification if a cubical neighborhood of a cube in the class "bincube" is acyclic.

Definition at line 926 of file bincube.h.

Constructor & Destructor Documentation

◆ NeighborsBdd()

template<class cubetype , class settype >
chomp::homology::NeighborsBdd< cubetype, settype >::NeighborsBdd ( const cubetype &  middle,
const settype &  cset 
)
inline

Definition at line 930 of file bincube.h.

930 :
931 q (middle), s (cset) {};
const cubetype & q
Definition: bincube.h:946

Member Function Documentation

◆ check()

template<class cubetype , class settype >
bool chomp::homology::NeighborsBdd< cubetype, settype >::check ( int  n) const
inline

Definition at line 936 of file bincube.h.

937 {
938 cubetype neighbor = bit2neighborAlg<settype> (q, n);
939 if (neighbor == q)
940 return false;
941 return (s. check (neighbor));
942 }
bool check(int n) const
Definition: bincube.h:936

References chomp::homology::bincube< Dim, twoPower >::check().

Member Data Documentation

◆ q

template<class cubetype , class settype >
const cubetype& chomp::homology::NeighborsBdd< cubetype, settype >::q
private

Definition at line 946 of file bincube.h.

◆ s

template<class cubetype , class settype >
const settype& chomp::homology::NeighborsBdd< cubetype, settype >::s
private

Definition at line 949 of file bincube.h.


The documentation for this class was generated from the following file: