70 std::vector<int> mPatterns;
void SetPattern(int nPattern, int nSection)
Set the pattern a section repeats, and count the sections that repeat none.
bool HasPattern(int nSection) const
Report whether a section repeats a pattern.
SlotGrid(int nSections)
Construct a grid in which no section repeats a pattern.
int GetNumFree() const
Report the number of sections that repeat no pattern.
int GetNumSections() const
Report the number of sections.
int GetPattern(int nSection) const
Report the pattern a section repeats.