04-Mar-2022 17:06:10 eternity_hexity_test(): MATLAB/Octave version 9.8.0.1380330 (R2020a) Update 2. eternity_hexity() implements a linear programming approach to the trinity tiling problem. hexity_reflect_test(): hexity_reflect() is given the hexity of an Eternity object and computes its hexity after being reflected. Word: AAKbBCCGGDdGIIII 3 2 3 3 3 4 3 3 3 2 3 4 36 Default configuration Word: KKKKAdDAAEEFfIGG 4 3 2 3 3 3 4 3 3 3 2 3 36 After reflection hexity_rotate_test(): hexity_rotate() is given the hexity of an Eternity object and computes its hexity after being rotated. Word: AAKbBCCGGDdGIIII 3 2 3 3 3 4 3 3 3 2 3 4 36 Default configuration Word: CCAdDEEIIFfIKKKK 4 3 2 3 3 3 4 3 3 3 2 3 36 60 degrees Word: EECfFGGKKHhKAAAA 3 4 3 2 3 3 3 4 3 3 3 2 36 120 degrees Word: GGEhHIIAAJjACCCC 3 3 4 3 2 3 2 3 4 3 3 3 36 180 degrees Word: IIGjJKKCCLlCEEEE 3 3 3 4 3 2 3 2 3 4 3 3 36 240 degrees Word: KKIlLAAEEBbEGGGG 2 3 3 3 4 3 3 3 2 3 4 3 36 300 degrees Word: AAKbBCCGGDdGIIII 3 2 3 3 3 4 3 3 3 2 3 4 36 360 degrees trinity_hexity_test(): Analyze hexity of the trinity tiling problem. The hexity of the grid should equal the sum of the hexities of the 4 tiles, after proper rotation and reflection. We can first configure each tile, then compute its hexity. Or, we can compute the hexity of each tile in its default configuration, and then apply the transformations to the hexity vector directly. Hexity of Trinity tiles in default configuration: 3 2 3 3 3 4 3 3 3 2 3 4 36 3 3 3 3 3 3 3 3 3 3 3 3 36 3 3 3 3 3 3 3 3 3 3 3 3 36 4 2 4 2 3 3 3 3 4 2 3 3 36 Compute configuration, then hexity: 3 3 3 4 3 2 3 2 3 4 3 3 36 3 3 3 3 3 3 3 3 3 3 3 3 36 3 3 3 3 3 3 3 3 3 3 3 3 36 3 3 3 2 4 3 4 3 3 2 4 2 36 12 12 12 12 13 11 13 11 12 12 13 11 144 Tile hexity sum 12 12 12 12 13 11 13 11 12 12 13 11 144 Grid hexity Compute hexity, then configure: 3 3 3 4 3 2 3 2 3 4 3 3 36 3 3 3 3 3 3 3 3 3 3 3 3 36 3 3 3 3 3 3 3 3 3 3 3 3 36 3 3 3 2 4 3 4 3 3 2 4 2 36 12 12 12 12 13 11 13 11 12 12 13 11 144 Tile hexity sum 12 12 12 12 13 11 13 11 12 12 13 11 144 Grid hexity eternity_hexity_test(): Normal end of execution. 04-Mar-2022 17:06:10