Closed GregGelfond closed 1 month ago
No, tuples are currently not supported but it might be an idea for future updates.
This is a possible encoding:
A row is identified by an id.
A column is identified by an id.
A cell is identified by a column, and by a row.
A value is identified by a number.
Every cell can be assigned to exactly 1 value.
In ASP I can declare tuples like the following:
This then allows me to treat cells as first class objects when declaring subsequent predicates:
Is there a way to do something similar in CNL? Or is the approach to use entities with id like this: