public class NecessarilyQuery extends QueryProposition
formula| Constructor and Description |
|---|
NecessarilyQuery(net.sf.tweety.logics.fol.syntax.FolFormula formula)
Creates a new necessarily query with an empty action sequence.
|
NecessarilyQuery(net.sf.tweety.logics.fol.syntax.FolFormula formula,
FolAction action)
Creates a new necessarily query with the given inner formula and a single
action.
|
NecessarilyQuery(net.sf.tweety.logics.fol.syntax.FolFormula formula,
List<FolAction> actions)
Creates a new necessarily query with the given inner formula and list of
actions.
|
| Modifier and Type | Method and Description |
|---|---|
List<FolAction> |
getActions()
Returns the list of actions of this necessarily query in the correct order.
|
ActionSignature |
getActionSignature()
Returns a new action signature containing all symbols of the inner formula
of this proposition.
|
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() |
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 NecessarilyQuery(net.sf.tweety.logics.fol.syntax.FolFormula formula)
formula - the inner formula of this query.public NecessarilyQuery(net.sf.tweety.logics.fol.syntax.FolFormula formula,
List<FolAction> actions)
formula - the inner formula of this necessarily query.actions - the action sequence of this necessarily query.public NecessarilyQuery(net.sf.tweety.logics.fol.syntax.FolFormula formula,
FolAction action)
formula - the inner formula of this necessarily query.action - a single action.public List<FolAction> getActions()
public ActionSignature getActionSignature()
QueryPropositiongetActionSignature in class QueryPropositionpublic 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 Set<FolAction> getInnerActions()
QueryPropositiongetInnerActions in class QueryPropositionpublic Set<net.sf.tweety.logics.commons.syntax.Variable> getVariables()
QueryPropositiongetVariables in class QueryPropositionpublic String toString()
toString in class QueryPropositionCopyright © 2018. All rights reserved.