public class AlwaysQuery extends QueryProposition
Atom.AtomImpl, Atom.RETURN_SET_PREDICATEformula| Constructor and Description |
|---|
AlwaysQuery(FolFormula formula)
Creates a new always query with the given inner formula.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<FolAction> |
getInnerActions()
Returns the set of all actions contained in this query proposition.
|
java.util.Set<Variable> |
getVariables()
Returns all variables occuring in inner formulas and actions of this query
proposition.
|
QueryProposition |
substitute(java.util.Map<? extends Term<?>,? extends 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.
|
java.lang.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, toDnffinalize, getClass, notify, notifyAll, wait, wait, waitgetPredicateClspublic AlwaysQuery(FolFormula formula)
formula - the inner formula of this newly created always query.public QueryProposition substitute(java.util.Map<? extends Term<?>,? extends Term<?>> map)
QueryPropositionsubstitute in class QueryPropositionmap - a map from variables to constants.public java.lang.String toString()
toString in class QueryPropositionpublic java.util.Set<FolAction> getInnerActions()
QueryPropositiongetInnerActions in class QueryPropositionpublic java.util.Set<Variable> getVariables()
QueryPropositiongetVariables in class QueryProposition