ajouté classe Menu
This commit is contained in:
@@ -25,13 +25,13 @@ class Generator {
|
||||
* Generates the list of all one-sided polyominos of the specified size
|
||||
* @return The list of polyominos
|
||||
*/
|
||||
std::vector<Polyomino> generatePolyominos(unsigned int polyominoSize);
|
||||
std::vector<Polyomino> generatePolyominos(int polyominoSize);
|
||||
|
||||
private:
|
||||
/**
|
||||
* Generates all one-sided polyominos of the specified size using the current tested shape
|
||||
*/
|
||||
void generate(unsigned int polyominoSize, int lastAddedPositionNumber, int nextAvaibleNumber, std::map<Position, int> candidatePositions);
|
||||
void generate(int polyominoSize, int lastAddedPositionNumber, int nextAvaibleNumber, std::map<Position, int> candidatePositions);
|
||||
|
||||
/**
|
||||
* Checks wheter a candidate position can be added to the current tested shape
|
||||
|
||||
Reference in New Issue
Block a user