The neighborhood of a cube in a set of cubes. More...
#include <cubacycl.h>
Public Member Functions | |
Neighbors (const cubetype &middle, const settype &cset, BitField &bfield) | |
The default constructor. | |
bool | check (int n) const |
The procedure for checking whether the given neighbor exists. | |
Private Attributes | |
const cubetype & | q |
The cube whose neighbors are verified. | |
const settype & | s |
The set of cubes in which the neighbors of the cube are sought. | |
BitField & | b |
The bitfield to record each neighbor in. |
The neighborhood of a cube in a set of cubes.
Definition at line 1139 of file cubacycl.h.
chomp::homology::Neighbors< cubetype, settype >::Neighbors | ( | const cubetype & | middle, | |
const settype & | cset, | |||
BitField & | bfield | |||
) | [inline] |
The default constructor.
Definition at line 1143 of file cubacycl.h.
bool chomp::homology::Neighbors< cubetype, settype >::check | ( | int | n | ) | const [inline] |
The procedure for checking whether the given neighbor exists.
The number of the neighbor is consistent with the "bit2neighbor" and "neighbor2bit" procedures.
Definition at line 1149 of file cubacycl.h.
References chomp::homology::Neighbors< cubetype, settype >::b, chomp::homology::bit2neighbor(), chomp::homology::Neighbors< cubetype, settype >::q, and chomp::homology::Neighbors< cubetype, settype >::s.
BitField& chomp::homology::Neighbors< cubetype, settype >::b [private] |
The bitfield to record each neighbor in.
Definition at line 1168 of file cubacycl.h.
Referenced by chomp::homology::Neighbors< cubetype, settype >::check().
const cubetype& chomp::homology::Neighbors< cubetype, settype >::q [private] |
The cube whose neighbors are verified.
Definition at line 1162 of file cubacycl.h.
Referenced by chomp::homology::Neighbors< cubetype, settype >::check().
const settype& chomp::homology::Neighbors< cubetype, settype >::s [private] |
The set of cubes in which the neighbors of the cube are sought.
Definition at line 1165 of file cubacycl.h.
Referenced by chomp::homology::Neighbors< cubetype, settype >::check().