This example shows how to instantiate an exhaustive sequence of lattice definitions.
#include "latbuilder/SizeParam.h"
#include "latbuilder/LatSeq/Combiner.h"
#include "latbuilder/GenSeq/GeneratingValues.h"
#include "latbuilder/GenSeq/VectorCreator.h"
#include "latbuilder/TextStream.h"
#include <iostream>
using TextStream::operator<<;
template <LatticeType LA>
auto latSeq = LatSeq::combine<CartesianProduct>(size, genSeqs);
std::cout << latSeq << std::endl;
}
int main()
{
SET_PATH_TO_LATNETBUILDER_FOR_EXAMPLES();
test<LatticeType::ORDINARY>(8);
return 0;
}