Glossary
Generates a glossary with detailed information of all predicates using their predicate documentation. See the predicate documentation section for more details.
Each predicate generates a section in the TOC.
Each predicate section includes the references for each file where the predicate was used.
Example
Glossary ¶
initial(X, Y, V)
¶
Describes initial values of the sudoku board. The value of cell (X,Y) is V.
| Parameter | Description |
|---|---|
X
|
the row of the cell |
Y
|
the column of the cell |
V
|
the value of the cell |
References
57
|
|
sudoku(X, Y, V)
¶
Describes a sudoku board. The value of cell (X,Y) is V.
| Parameter | Description |
|---|---|
X
|
the row of the cell |
Y
|
the column of the cell |
V
|
the value of the cell |
References
50
|
|
53
|
|
54
|
|
55
|
|
57
|
|
pos(X, Y)
¶
Describes a cell (X,Y) in the sudoku board.
| Parameter | Description |
|---|---|
X
|
the row of the cell |
Y
|
the column of the cell |
References
7
|
|
47
|
|
50
|
|
subgrid(A, B, C)
¶
References
47
|
|
55
|
|
val(V)
¶
Describes a possible value V for a cell.
| Parameter | Description |
|---|---|
V
|
the value |
References
6
|
|
7
|
|
50
|
|
::: examples/sudoku/encoding.lp
handler: asp
options:
glossary: true
start_level: 3
Configuration options¶
The option glossary can be further customized with the following options:
include_titleBoolean indicating if the section should be preceded by a header title which will be included in the table of contents. Defaults to True.include_referencesBoolean indicating if each predicate documentations should include a section with the references. Defaults to True.include_navigationBoolean indicating if each predicate should generate a navigation entry displayed in the menu. Defaults to True.
Predicate inclusion/exclusion (e.g. hidden or undocumented predicates) is configured globally via predicate_info.
Example
Glossary ¶
initial(X, Y, V)
¶
Describes initial values of the sudoku board. The value of cell (X,Y) is V.
| Parameter | Description |
|---|---|
X
|
the row of the cell |
Y
|
the column of the cell |
V
|
the value of the cell |
sudoku(X, Y, V)
¶
Describes a sudoku board. The value of cell (X,Y) is V.
| Parameter | Description |
|---|---|
X
|
the row of the cell |
Y
|
the column of the cell |
V
|
the value of the cell |
pos(X, Y)
¶
Describes a cell (X,Y) in the sudoku board.
| Parameter | Description |
|---|---|
X
|
the row of the cell |
Y
|
the column of the cell |
val(V)
¶
Describes a possible value V for a cell.
| Parameter | Description |
|---|---|
V
|
the value |
::: examples/sudoku/encoding.lp
handler: asp
options:
glossary:
include_references: false
predicate_info:
include_undocumented: false
start_level: 3