Learn R Programming

ggmlR (version 0.8.4)

pt_cube4_layout: The piece layout of a 4x4x4 cube

Description

Which stickers make up each piece, for a cube written as 96 stickers in face order. Pieces come in three kinds and the model is told which is which: 8 corners of three stickers, 24 wings of two, 24 centres of one. The short pieces are padded to three slots and the padding masked off.

Usage

pt_cube4_layout()

Arguments

Value

A list with positions (a 56 x 3 integer matrix of sticker indices), mask (56 x 3 logical, which slots are real), types (length-56 integer, 0 corner / 1 wing / 2 centre),

state_size and num_classes.

Details

Sticker numbers are 0-based, as the checkpoint's own layout table has them.

See Also

pt_transformer

Examples

Run this code
lay <- pt_cube4_layout()
dim(lay$positions)
table(lay$types)

Run the code above in your browser using DataLab