IVALab Python Libraries
Collection of code for computer vision and robotics with specific API.
Namespaces | Classes
Puzzle Types

Classes that abstract different puzzle (arrangement) types. More...

Collaboration diagram for Puzzle Types:

Namespaces

 puzzle.builder.adjacent
 This type of puzzle is simply a set of shapes arranged at specific locations with adjacency permitted. Touching or very close proximity should hold for most or all pieces.
 
 puzzle.builder.arrangement
 This type of puzzle is simply a set of shapes arranged at specific locations in the image with no occlusion or overlap. Touching is not necessary (typically not the case)
 
 puzzle.builder.gridded
 An interlocking puzzle for which the pieces are arranged in a nice gridded manner with a rectangular shape when complete.
 
 puzzle.builder.interlocking
 This type of puzzle is simply a set of shapes arranged at specific locations that should actually interlock. Placement for them is less forgiving. In principle, they need to fit together.
 
 puzzle.builder.matrix
 An adjacent puzzle for which the pieces are rectangular or square so as to arranged neatly into rows and columns.
 
 superviseit.qualitycontrol.defects
 Introduces defects into puzzle for quality control studies.
 

Classes

class  Adjacent
 Puzzle whose pieces will be touching as part of the solution. More...
 
class  Arrangement
 A puzzle that simply needs to arrange pieces on a workspace. More...
 
class  CfgAdjacent
 Configuration setting specifier for Arrangement. More...
 
class  CfgArrangement
 Configuration setting specifier for centroidMulti. More...
 
class  CfgGridded
 Configuration setting specifier for gridded puzzle. More...
 
class  CfgInterlocking
 Configuration setting specifier for centroidMulti. More...
 
class  CfgMatrix
 Configuration setting specifier for gridded puzzle. More...
 
class  CfgMatrixDefect
 Configuration setting specifier for matrix puzzle with defects. More...
 
class  Gridded
 Puzzle type that is a set of interlocking puzzle pieces that get put together in a grid structure. All rows/columns have same number of pieces. More...
 
class  Interlocking
 Puzzle with interlocking pieces. More...
 
class  Matrix
 Puzzle type that is a set of adjacent, rectangular puzzle pieces that get put together in a matrix/2D array shape. All rows/columns have same number of pieces. More...
 
class  MatrixDefect
 Instance of Matrix that can also generate defective puzzles by introducing erroenous puzzle pieces based on the configuration parameters and random sampling. More...
 

Detailed Description

Classes that abstract different puzzle (arrangement) types.

While the documentation refers to this set of classes as Puzzle Types, the actual naming convention used in the python code is that of builder in the sense that puzzle.builder will be the import prefix for the described classes. The naming choice has to do with the fact that there is code to build and interpret a puzzle based on its arrangement properties.