Package tech.oxfordsemantic.jrdfox.logic
Class Negation
java.lang.Object
tech.oxfordsemantic.jrdfox.logic.Formula
tech.oxfordsemantic.jrdfox.logic.BodyFormula
tech.oxfordsemantic.jrdfox.logic.Negation
- All Implemented Interfaces:
java.io.Serializable
public class Negation extends BodyFormula
- See Also:
- Serialized Form
-
Field Summary
-
Method Summary
Modifier and Type Method Description <E> E
accept(LogicVisitor<E> visitor)
static Negation
create(java.util.List<Variable> existentialVariables, Formula negatedFormulas)
static Negation
create(Formula negatedFormula)
static Negation
create(Variable[] existentialVariables, Formula negatedFormulas)
Variable
getExistentialVariable(int index)
java.util.List<Variable>
getExistentialVariables()
Formula
getNegatedFormula()
int
getNumberOfExistentialVariables()
BodyFormula
simplify()
void
toString(Prefixes prefixes, java.util.function.Consumer<java.lang.String> consumer, LogicFormat logicFormat)
Methods inherited from class tech.oxfordsemantic.jrdfox.logic.BodyFormula
getArgument, getArguments, getNumberOfArguments
-
Method Details
-
getExistentialVariables
-
getNumberOfExistentialVariables
public int getNumberOfExistentialVariables() -
getExistentialVariable
-
getNegatedFormula
-
simplify
- Specified by:
simplify
in classBodyFormula
-
accept
- Specified by:
accept
in classBodyFormula
-
toString
public void toString(Prefixes prefixes, java.util.function.Consumer<java.lang.String> consumer, LogicFormat logicFormat)- Specified by:
toString
in classBodyFormula
-
create
-
create
-
create
-