public class NLPProgram extends net.sf.tweety.commons.util.rules.RuleSet<NLPRule> implements net.sf.tweety.logics.commons.syntax.interfaces.LogicProgram<net.sf.tweety.logics.fol.syntax.FolFormula,net.sf.tweety.logics.fol.syntax.FolFormula,NLPRule>
| Constructor and Description |
|---|
NLPProgram() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFact(net.sf.tweety.logics.fol.syntax.FolFormula fact) |
NLPProgram |
exchange(net.sf.tweety.logics.commons.syntax.interfaces.Term<?> v,
net.sf.tweety.logics.commons.syntax.interfaces.Term<?> t) |
Set<net.sf.tweety.logics.fol.syntax.FolFormula> |
getFacts() |
net.sf.tweety.logics.fol.syntax.FolSignature |
getSignature() |
NLPProgram |
substitute(Map<? extends net.sf.tweety.logics.commons.syntax.interfaces.Term<?>,? extends net.sf.tweety.logics.commons.syntax.interfaces.Term<?>> map) |
NLPProgram |
substitute(net.sf.tweety.logics.commons.syntax.interfaces.Term<?> t,
net.sf.tweety.logics.commons.syntax.interfaces.Term<?> v) |
getConclusions, getPremises, getRulesWithConclusionadd, clear, clone, contains, isEmpty, iterator, remove, size, spliteratorequals, hashCode, removeAlladdAll, containsAll, retainAll, toArray, toArray, toStringfinalize, getClass, notify, notifyAll, toString, wait, wait, waittoStringaddAll, containsAll, equals, hashCode, removeAll, retainAll, toArray, toArrayparallelStream, removeIf, streampublic Set<net.sf.tweety.logics.fol.syntax.FolFormula> getFacts()
public void addFact(net.sf.tweety.logics.fol.syntax.FolFormula fact)
addFact in interface net.sf.tweety.logics.commons.syntax.interfaces.LogicProgram<net.sf.tweety.logics.fol.syntax.FolFormula,net.sf.tweety.logics.fol.syntax.FolFormula,NLPRule>public net.sf.tweety.logics.fol.syntax.FolSignature getSignature()
getSignature in interface net.sf.tweety.commons.BeliefBasegetSignature in interface net.sf.tweety.logics.commons.syntax.interfaces.LogicProgram<net.sf.tweety.logics.fol.syntax.FolFormula,net.sf.tweety.logics.fol.syntax.FolFormula,NLPRule>public NLPProgram substitute(net.sf.tweety.logics.commons.syntax.interfaces.Term<?> t, net.sf.tweety.logics.commons.syntax.interfaces.Term<?> v)
substitute in interface net.sf.tweety.logics.commons.syntax.interfaces.LogicProgram<net.sf.tweety.logics.fol.syntax.FolFormula,net.sf.tweety.logics.fol.syntax.FolFormula,NLPRule>public NLPProgram substitute(Map<? extends net.sf.tweety.logics.commons.syntax.interfaces.Term<?>,? extends net.sf.tweety.logics.commons.syntax.interfaces.Term<?>> map) throws IllegalArgumentException
substitute in interface net.sf.tweety.logics.commons.syntax.interfaces.LogicProgram<net.sf.tweety.logics.fol.syntax.FolFormula,net.sf.tweety.logics.fol.syntax.FolFormula,NLPRule>IllegalArgumentExceptionpublic NLPProgram exchange(net.sf.tweety.logics.commons.syntax.interfaces.Term<?> v, net.sf.tweety.logics.commons.syntax.interfaces.Term<?> t) throws IllegalArgumentException
exchange in interface net.sf.tweety.logics.commons.syntax.interfaces.LogicProgram<net.sf.tweety.logics.fol.syntax.FolFormula,net.sf.tweety.logics.fol.syntax.FolFormula,NLPRule>IllegalArgumentExceptionCopyright © 2018. All rights reserved.