This example shows how to instantiate a random 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/Traversal.h"
#include "latbuilder/LFSR258.h"
#include "latbuilder/TextStream.h"
#include <iostream>
using TextStream::operator<<;
template <LatticeType LA>
size_t r = 4;
auto latSeq = LatSeq::combine<Zip>(size, genSeqs);
std::cout << latSeq << std::endl;
}
int main()
{
SET_PATH_TO_LATNETBUILDER_FOR_EXAMPLES();
test<LatticeType::ORDINARY>(31);
return 0;
}