enum ctables_domain_type
{
- CTDT_TABLE, /* Entire table. */
- CTDT_SUBTABLE, /* Innermost variable in a single layer. */
+ /* Within a section, where stacked variables divide one section from
+ another. */
+ CTDT_TABLE, /* All layers of a whole section. */
+ CTDT_LAYER, /* One layer within a section. */
+ CTDT_LAYERROW, /* Row in one layer within a section. */
+ CTDT_LAYERCOL, /* Column in one layer within a section. */
+
+ /* Within a subtable, where a subtable pairs an innermost row variable with
+ an innermost column variable within a single layer. */
+ CTDT_SUBTABLE, /* Whole subtable. */
CTDT_ROW, /* Row within a subtable. */
CTDT_COL, /* Column within a subtable. */
- CTDT_LAYER, /* Entire layer. */
- CTDT_LAYERROW, /* Row within a layer. */
- CTDT_LAYERCOL, /* Column within a layer. */
#define N_CTDTS 7
};
ctables_domain_insert (struct ctables_table *t, struct ctables_freq *f,
enum ctables_domain_type domain)
{
- /* XXX how can we handle CTDT_LAYERROW and CTDT_LAYERCOL? Crossing subtables
- is hard. */
size_t hash = 0;
for (enum pivot_axis_type a = 0; a < PIVOT_N_AXES; a++)
{