JTMS
Implementation of justification-based truth maintenance systems.
- Type Params
- I
Type of (external) informants in justifications.
- Value Params
- checkingContradictions
For external systems.
- contradictionHandler
External handler for detecting contradictions.
- debugging
Debugging flag.
- nodeString
Default formatter for TMS nodes.
- title
Name of this TMS, for output.
Value members
Concrete methods
Create a new node in this JTMS.
Create a new node in this JTMS.
- Value Params
- assumptionP
True indicates that this node might be used as an assumption. But note that an assumption node must be enabled before a judgment can use the node as a premise. The default value is
false
.- contradictionP
True indicates that this node denotes a contradiction. The default value is
false
.- datum
The piece of data associated with the node.
Search for support for nodes which were disbelieved after an assumption retraction.
Search for support for nodes which were disbelieved after an assumption retraction.
The original Lisp code returns the justification when short-circuiting from the inner loop. But this return value is never used; moreover there is no return value used from callers of this function. So in this type-checked translation, we return the unit value.
- Value Params
- outQueue
List of nodes which have lost support. The naming of the parameter as a queue in the Lisp code is odd: the list is only read; nothing is ever enqueued.
Increment the justifications counter and return its value.
Increment the justifications counter and return its value.