PublicShow sourcestack.pl

Source justification_tree(:Stack, -JustificationTree, +Options)
Process Stack as produced by solve/4 into a justification tree. Options include:

<none yet>

The tree format is defined as follows.

The root node has the atom query and has two children: the actual query and the atom o_nmr_check which represents the global constraints.

Source print_justification_tree(:Tree) is det
Source print_justification_tree(:Tree, +Options) is det
Print the justification tree as returned by justification_tree/3 or scasp_justification/2. The tree is printed to the current output stream. Options:
format(+Format)
One of unicode (default) or ascii.
depth(+Integer)
Initial indentation (0)
indent(+Integer)
Indent increment per level (3).
full_stop(+Bool)
End the tree with a full stop and newline. If false, it ends with the last atom.
Source unqualify_justitication_tree(:TreeIn, +Module, -TreeOut) is det
Unqualify the nodes in TreeIn, turning the nodes qualified to module Module into plain nodes.

Re-exported predicates

The following predicates are exported from this file while their implementation is defined in imported modules or non-module files loaded by this module.

Source print_justification_tree(:Tree) is det
Source print_justification_tree(:Tree, +Options) is det
Print the justification tree as returned by justification_tree/3 or scasp_justification/2. The tree is printed to the current output stream. Options:
format(+Format)
One of unicode (default) or ascii.
depth(+Integer)
Initial indentation (0)
indent(+Integer)
Indent increment per level (3).
full_stop(+Bool)
End the tree with a full stop and newline. If false, it ends with the last atom.