public class LdoArgument extends LdoFormula implements net.sf.tweety.logics.commons.syntax.interfaces.Atom, Comparable<LdoArgument>
| Constructor and Description |
|---|
LdoArgument()
Default-Ctor for dynamic instantiation
|
LdoArgument(LdoArgument other) |
LdoArgument(String name)
Creates a new proposition of the given name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addArgument(net.sf.tweety.logics.commons.syntax.interfaces.Term<?> arg) |
LdoArgument |
clone() |
int |
compareTo(LdoArgument o) |
boolean |
equals(Object obj) |
Argument |
getArgument()
Returns an argument representation (in Dung-style)
of this LdoArgument.
|
List<? extends net.sf.tweety.logics.commons.syntax.interfaces.Term<?>> |
getArguments() |
Set<LdoArgument> |
getAtoms() |
Set<LdoFormula> |
getLiterals()
Returns all literals, i.e.
|
String |
getName() |
net.sf.tweety.logics.pl.syntax.PropositionalPredicate |
getPredicate() |
Set<net.sf.tweety.logics.pl.syntax.PropositionalPredicate> |
getPredicates() |
DungSignature |
getSignature() |
int |
hashCode() |
boolean |
isComplete() |
boolean |
isLiteral() |
net.sf.tweety.logics.commons.syntax.interfaces.Atom.RETURN_SET_PREDICATE |
setPredicate(net.sf.tweety.logics.commons.syntax.Predicate predicate) |
String |
toString() |
combineWithAnd, combineWithOr, complement, getDividers, getPredicateCls, getUniformProbabilitypublic LdoArgument()
public LdoArgument(String name)
name - the name of the proposition.public LdoArgument(LdoArgument other)
public Argument getArgument()
public String getName()
getName in interface net.sf.tweety.logics.commons.syntax.interfaces.Atompublic net.sf.tweety.logics.pl.syntax.PropositionalPredicate getPredicate()
getPredicate in interface net.sf.tweety.logics.commons.syntax.interfaces.Atompublic Set<net.sf.tweety.logics.pl.syntax.PropositionalPredicate> getPredicates()
getPredicates in interface net.sf.tweety.logics.commons.syntax.interfaces.SimpleLogicalFormulagetPredicates in class LdoFormulapublic DungSignature getSignature()
getSignature in interface net.sf.tweety.commons.FormulagetSignature in class LdoFormulapublic int hashCode()
hashCode in interface net.sf.tweety.logics.commons.syntax.interfaces.SimpleLogicalFormulahashCode in class LdoFormulapublic boolean equals(Object obj)
equals in interface net.sf.tweety.logics.commons.syntax.interfaces.SimpleLogicalFormulaequals in class LdoFormulapublic LdoArgument clone()
clone in interface net.sf.tweety.logics.commons.syntax.interfaces.SimpleLogicalFormulaclone in class LdoFormulapublic void addArgument(net.sf.tweety.logics.commons.syntax.interfaces.Term<?> arg)
addArgument in interface net.sf.tweety.logics.commons.syntax.interfaces.Atompublic List<? extends net.sf.tweety.logics.commons.syntax.interfaces.Term<?>> getArguments()
getArguments in interface net.sf.tweety.logics.commons.syntax.interfaces.Atompublic boolean isComplete()
isComplete in interface net.sf.tweety.logics.commons.syntax.interfaces.Atompublic Set<LdoArgument> getAtoms()
getAtoms in interface net.sf.tweety.logics.commons.syntax.interfaces.SimpleLogicalFormulagetAtoms in class LdoFormulapublic boolean isLiteral()
isLiteral in interface net.sf.tweety.logics.commons.syntax.interfaces.SimpleLogicalFormulaisLiteral in class LdoFormulapublic Set<LdoFormula> getLiterals()
LdoFormulagetLiterals in class LdoFormulapublic net.sf.tweety.logics.commons.syntax.interfaces.Atom.RETURN_SET_PREDICATE setPredicate(net.sf.tweety.logics.commons.syntax.Predicate predicate)
setPredicate in interface net.sf.tweety.logics.commons.syntax.interfaces.Atompublic int compareTo(LdoArgument o)
compareTo in interface Comparable<LdoArgument>Copyright © 2018. All rights reserved.