public class HoldsQuery extends QueryProposition
formula| Constructor and Description |
|---|
HoldsQuery(net.sf.tweety.logics.fol.syntax.FolFormula formula)
Creates a new holds query with the given inner formula.
|
| Modifier and Type | Method and Description |
|---|---|
Set<FolAction> |
getInnerActions()
Returns the set of all actions contained in this query proposition.
|
Set<net.sf.tweety.logics.commons.syntax.Variable> |
getVariables()
Returns all variables occuring in inner formulas and actions of this query
proposition.
|
QueryProposition |
substitute(Map<? extends net.sf.tweety.logics.commons.syntax.interfaces.Term<?>,? extends net.sf.tweety.logics.commons.syntax.interfaces.Term<?>> map)
Returns a new query proposition of the same type, in which all variables in
inner formulas and actions are replaced according to the given map.
|
String |
toString() |
getActionSignature, getInnerFormulaaddArgument, clone, collapseAssociativeFormulas, compareTo, equals, getArguments, getAtoms, getLiterals, getModels, getName, getPredicate, getPredicates, getSignature, hashCode, isComplete, isLiteral, numberOfOccurrences, replace, setPredicate, toCnf, toNnf, trimcombineWithAnd, combineWithOr, complement, getModels, getPredicateCls, getPrimeImplicants, getUniformProbability, isConjunctiveClause, resolvableWith, resolveWith, toBlakeCanonicalForm, toDnfpublic HoldsQuery(net.sf.tweety.logics.fol.syntax.FolFormula formula)
formula - the inner formula of this newly created holds query.public QueryProposition substitute(Map<? extends net.sf.tweety.logics.commons.syntax.interfaces.Term<?>,? extends net.sf.tweety.logics.commons.syntax.interfaces.Term<?>> map)
QueryPropositionsubstitute in class QueryPropositionmap - a map from variables to constants.public String toString()
toString in class QueryPropositionpublic Set<FolAction> getInnerActions()
QueryPropositiongetInnerActions in class QueryPropositionpublic Set<net.sf.tweety.logics.commons.syntax.Variable> getVariables()
QueryPropositiongetVariables in class QueryPropositionCopyright © 2018. All rights reserved.