LatNet Builder Manual 2.1.3-6
Software Package for Constructing Highly Uniform Point Sets
Loading...
Searching...
No Matches
LatticeTester::CoordinateSets::AddCoordinate< BASE > Class Template Reference

This template class wraps any implementation of a CoordinateSets and adds a specific coordinate to each coordinate sets. More...

#include <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.
const BASE & base () const
 Returns the base object used to produce the subsets.
const Coordinates::value_type & coord () const
 Returns the coordinate this object adds.
const_iterator begin () const
 Returns an iterator pointing to the first element in the seq.
const_iterator end () const
 Returns an iterator pointing past the last element in the seq.

Detailed Description

template<typename BASE>
class LatticeTester::CoordinateSets::AddCoordinate< BASE >

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.

Examples
tutorial/WeightedFigureOfMeritCBC.cc.

The documentation for this class was generated from the following file:
  • latticetester/include/latticetester/CoordinateSets.h