public class Argument extends LinkedList<net.sf.tweety.lp.asp.syntax.Rule> implements net.sf.tweety.commons.Formula
modCount| Constructor and Description |
|---|
Argument(List<net.sf.tweety.lp.asp.syntax.Rule> rules) |
Argument(net.sf.tweety.lp.asp.syntax.Rule rule) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkValid()
An argument may only contain nonempty ground rules (i.e.
|
Set<net.sf.tweety.lp.asp.syntax.DLPLiteral> |
getAssumptions()
Returns the set of assumptions, i.e.
|
Set<net.sf.tweety.lp.asp.syntax.DLPLiteral> |
getConclusions()
Returns the set of conclusions of this argument, which is made up of
the heads of all rules contained in this argument.
|
net.sf.tweety.commons.Signature |
getSignature() |
String |
toString() |
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, set, size, spliterator, toArray, toArrayiteratorequals, hashCode, listIterator, removeRange, subListcontainsAll, isEmpty, removeAll, retainAllfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCode, isEmpty, iterator, listIterator, removeAll, replaceAll, retainAll, sort, subListparallelStream, removeIf, streampublic Argument(net.sf.tweety.lp.asp.syntax.Rule rule)
public Argument(List<net.sf.tweety.lp.asp.syntax.Rule> rules)
public Set<net.sf.tweety.lp.asp.syntax.DLPLiteral> getConclusions()
public Set<net.sf.tweety.lp.asp.syntax.DLPLiteral> getAssumptions()
public boolean checkValid()
public String toString()
toString in class AbstractCollection<net.sf.tweety.lp.asp.syntax.Rule>public net.sf.tweety.commons.Signature getSignature()
getSignature in interface net.sf.tweety.commons.FormulaCopyright © 2018. All rights reserved.