Class LogicalSymbols
java.lang.Object
org.tweetyproject.logics.commons.LogicalSymbols
This class provides some String constants for logical symbols and allows to
modify them at runtime. This functionality is currently used to switch between
different constants for classical negation and contradiction.
- Author:
- Matthias Thimm, Sebastian Homann
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringReturns the symbol for classical negation.static StringReturns the symbol for conjunction.static StringReturns the symbol for contradiction.static StringReturns the symbol for disjunction.static StringEQUALITY()Returns the symbol for equality.static StringReturns the symbol for equivalence.static StringReturns the symbol for exclusive disjunction.static StringReturns the symbol for the existential quantifier.static StringReturns the symbol for the universal quantifier.static StringReturns the symbol for implication.static StringReturns the symbol for inequality.static StringReturns the symbol for necessity.static StringReturns the symbol for the left parenthesis.static StringReturns the symbol for the right parenthesis.static StringReturns the symbol for possibility.static voidSets the symbol for classical negation.static voidSets the symbol for contradiction.static StringReturns the symbol for tautology.
-
Constructor Details
-
LogicalSymbols
public LogicalSymbols()
-
-
Method Details
-
setClassicalNegationSymbol
Sets the symbol for classical negation.- Parameters:
sym- the new symbol to use for classical negation.
-
setContradictionSymbol
Sets the symbol for contradiction.- Parameters:
sym- the new symbol to use for contradiction.
-
CLASSICAL_NEGATION
Returns the symbol for classical negation.- Returns:
- the symbol for classical negation.
-
DISJUNCTION
Returns the symbol for disjunction.- Returns:
- the symbol for disjunction
-
CONJUNCTION
Returns the symbol for conjunction.- Returns:
- the symbol for conjunction
-
FORALLQUANTIFIER
Returns the symbol for the universal quantifier.- Returns:
- the symbol for the universal quantifier, which is "forall".
-
EXISTSQUANTIFIER
Returns the symbol for the existential quantifier.- Returns:
- the symbol for the existential quantifier, which is "exists".
-
IMPLICATION
Returns the symbol for implication.- Returns:
- the symbol for implication
-
EQUIVALENCE
Returns the symbol for equivalence.- Returns:
- the symbol for equivalence,
-
TAUTOLOGY
Returns the symbol for tautology.- Returns:
- the symbol for tautology, which is "+".
-
CONTRADICTION
Returns the symbol for contradiction.- Returns:
- the symbol for contradiction.
-
PARENTHESES_LEFT
Returns the symbol for the left parenthesis.- Returns:
- the symbol for the left parenthesis, which is "(".
-
PARENTHESES_RIGHT
Returns the symbol for the right parenthesis.- Returns:
- the symbol for the right parenthesis, which is ")".
-
NECESSITY
Returns the symbol for necessity.- Returns:
- the symbol for necessity, which is "[]".
-
POSSIBILITY
Returns the symbol for possibility.- Returns:
- the symbol for possibility
-
EQUALITY
Returns the symbol for equality.- Returns:
- the symbol for equality, which is "==".
-
INEQUALITY
Returns the symbol for inequality.- Returns:
- the symbol for inequality, which is "/==".
-
EXCLUSIVEDISJUNCTION
Returns the symbol for exclusive disjunction.- Returns:
- the symbol for exclusive disjunction, which is "^^".
-