Lattice Tester Guide
1.0-9
Software Package For Testing The Uniformity Of Integral Lattices In The Real Space
|
This template class wraps any implementation of a CoordinateSets and adds a specific coordinate to each coordinate sets. More...
#include <latticetester/CoordinateSets.h>
Classes | |
class | const_iterator |
An iterator class used internaly by the AddCoordinate class. More... | |
Public Member Functions | |
AddCoordinate (const BASE &base, Coordinates::value_type coord) | |
Constructs a sequence of coordinate sets by adding the coordinate coord to each element in the base sequence base . More... | |
const BASE & | base () const |
Returns the base object used to produce the subsets. More... | |
const Coordinates::value_type & | coord () const |
Returns the coordinate this object adds. More... | |
const_iterator | begin () const |
Returns an iterator pointing to the first element in the seq. More... | |
const_iterator | end () const |
Returns an iterator pointing past the last element in the seq. More... | |
This template class wraps any implementation of a CoordinateSets and adds a specific coordinate to each coordinate sets.
When iterating through the subsets of this class, they won't be order by cardinality because the sets are generated on the fly and the coordinate is added if it is not already contained.
BASE
is a type of coordinate sets that serves as a base. This should be one of the classes defined in the CoordinateSets
namespace.
|
inline |
Constructs a sequence of coordinate sets by adding the coordinate coord
to each element in the base sequence base
.
|
inline |
Returns the base object used to produce the subsets.
|
inline |
Returns an iterator pointing to the first element in the seq.
|
inline |
Returns the coordinate this object adds.
|
inline |
Returns an iterator pointing past the last element in the seq.