Skip to content

Commit

Permalink
Updated Javadoc for Troolean
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvainhalle committed Jun 12, 2024
1 parent 1c5753e commit b532220
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions Ltl/src/ca/uqac/lif/cep/ltl/Troolean.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,30 @@

/**
* Implementation of a three-valued logic. The "Troolean" type
* has three values: TRUE, FALSE and INCONCLUSIVE (which can also
* stand for UNKNOWN).
* has three values: TRUE ("⊤"), FALSE ("⊥") and INCONCLUSIVE ("?",
* which can also stand for UNKNOWN). The truth table for Troolean connectives
* is defined as follows:
* <p>
* <table border="1">
* <tr><th>&and;</th><th>&bot;</th><th>?</th><th>&top;</hd></tr>
* <tr><th>&bot;</th><td>&bot;</td><td>&bot;</td><td>&bot;</td></tr>
* <tr><th>?</th><td>&bot;</td><td>?</td><td>?</td></tr>
* <tr><th>&top;</th><td>&bot;</td><td>?</td><td>&top;</td></tr>
* </table>
* <p>
* <table border="1">
* <tr><th>&or;</th><th>&bot;</th><th>?</th><th>&top;</th></tr>
* <tr><th>&bot;</th><td>&bot;</td><td>?</td><td>&top;</td></tr>
* <tr><th>?</th><td>?</td><td>?</td><td>&top;</td></tr>
* <tr><th>&top;</th><td>&top;</td><td>&top;</td><td>&top;</td></tr>
* </table>
* <p>
* <table border="1">
* <tr><th>&not;</th><td></td></tr>
* <tr><th>&bot;</th><td>&top;</td></tr>
* <tr><th>?</th><td>?</td></tr>
* <tr><th>&top;</th><td>&bot;</td></tr>
* </table>
*/
public class Troolean extends Constant
{
Expand Down

0 comments on commit b532220

Please sign in to comment.