Public Member Functions | Private Attributes

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>

List of all members.

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 917 of file bincube.h.


Constructor & Destructor Documentation

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

Definition at line 921 of file bincube.h.

                                                                  :
                q (middle), s (cset) {};


Member Function Documentation

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

Definition at line 927 of file bincube.h.

References chomp::homology::NeighborsBdd< cubetype, settype >::s.

        {
                cubetype neighbor = bit2neighborAlg<settype> (q, n);
                if (neighbor == q)
                        return false;
                return (s. check (neighbor));
        }


Member Data Documentation

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

Definition at line 937 of file bincube.h.

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

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