public class TptpFofAtomicFormula extends TptpFofUnitaryFormula
| Constructor and Description |
|---|
TptpFofAtomicFormula()
Empty Constructor
|
TptpFofAtomicFormula(TptpFofPredicate predicate)
Constructor with given identifier name
|
TptpFofAtomicFormula(TptpFofPredicate predicate,
List<? extends TptpFofTerm<?>> arguments) |
TptpFofAtomicFormula(TptpFofPredicate predicate,
TptpFofTerm<?>... terms) |
| Modifier and Type | Method and Description |
|---|---|
void |
addArgument(TptpFofTerm<?> term) |
Set<TptpFofAtomicFormula> |
getAtoms() |
boolean |
isParenthesized() |
boolean |
validate()
This method validates, if the given identifier string meets the name conventions for atoms
|
isUnitarygetFunctors, toStringpublic TptpFofAtomicFormula()
public TptpFofAtomicFormula(TptpFofPredicate predicate)
predicate - the predicate of this atompublic TptpFofAtomicFormula(TptpFofPredicate predicate, TptpFofTerm<?>... terms)
public TptpFofAtomicFormula(TptpFofPredicate predicate, List<? extends TptpFofTerm<?>> arguments)
public Set<TptpFofAtomicFormula> getAtoms()
getAtoms in class TptpFofLogicFormulapublic void addArgument(TptpFofTerm<?> term) throws IllegalArgumentException
IllegalArgumentExceptionpublic boolean validate()
public boolean isParenthesized()
isParenthesized in class TptpFofLogicFormulaCopyright © 2016. All rights reserved.