public class ArithmeticTerm extends net.sf.tweety.logics.commons.syntax.TermAdapter<net.sf.tweety.commons.util.Triple<ASPOperator.ArithmeticOperator,net.sf.tweety.logics.commons.syntax.interfaces.Term<?>,net.sf.tweety.logics.commons.syntax.interfaces.Term<?>>>
| Constructor and Description |
|---|
ArithmeticTerm(ArithmeticTerm other) |
ArithmeticTerm(ASPOperator.ArithmeticOperator op,
net.sf.tweety.logics.commons.syntax.interfaces.Term<?> t)
Creates an arithmetic term of the form -(t)
|
ArithmeticTerm(ASPOperator.ArithmeticOperator op,
net.sf.tweety.logics.commons.syntax.interfaces.Term<?> left,
net.sf.tweety.logics.commons.syntax.interfaces.Term<?> right) |
ArithmeticTerm(net.sf.tweety.commons.util.Triple<ASPOperator.ArithmeticOperator,net.sf.tweety.logics.commons.syntax.interfaces.Term<?>,net.sf.tweety.logics.commons.syntax.interfaces.Term<?>> triple) |
| Modifier and Type | Method and Description |
|---|---|
net.sf.tweety.logics.commons.syntax.TermAdapter<?> |
clone() |
net.sf.tweety.logics.commons.syntax.interfaces.Term<?> |
getLeft()
Returns the left subterm of this arithmetic term.
|
ASPOperator.ArithmeticOperator |
getOperator()
Returns the operator of this arithmetic term.
|
net.sf.tweety.logics.commons.syntax.interfaces.Term<?> |
getRight()
Returns the right subterm of this arithmetic term.
|
void |
setOperator(ASPOperator.ArithmeticOperator op)
Sets the operator of this arithmetic term.
|
String |
toString() |
public ArithmeticTerm(net.sf.tweety.commons.util.Triple<ASPOperator.ArithmeticOperator,net.sf.tweety.logics.commons.syntax.interfaces.Term<?>,net.sf.tweety.logics.commons.syntax.interfaces.Term<?>> triple)
public ArithmeticTerm(ArithmeticTerm other)
public ArithmeticTerm(ASPOperator.ArithmeticOperator op, net.sf.tweety.logics.commons.syntax.interfaces.Term<?> left, net.sf.tweety.logics.commons.syntax.interfaces.Term<?> right)
public ArithmeticTerm(ASPOperator.ArithmeticOperator op, net.sf.tweety.logics.commons.syntax.interfaces.Term<?> t)
op - t - public String toString()
toString in class net.sf.tweety.logics.commons.syntax.TermAdapter<net.sf.tweety.commons.util.Triple<ASPOperator.ArithmeticOperator,net.sf.tweety.logics.commons.syntax.interfaces.Term<?>,net.sf.tweety.logics.commons.syntax.interfaces.Term<?>>>public net.sf.tweety.logics.commons.syntax.TermAdapter<?> clone()
clone in interface net.sf.tweety.logics.commons.syntax.interfaces.Term<net.sf.tweety.commons.util.Triple<ASPOperator.ArithmeticOperator,net.sf.tweety.logics.commons.syntax.interfaces.Term<?>,net.sf.tweety.logics.commons.syntax.interfaces.Term<?>>>clone in class net.sf.tweety.logics.commons.syntax.TermAdapter<net.sf.tweety.commons.util.Triple<ASPOperator.ArithmeticOperator,net.sf.tweety.logics.commons.syntax.interfaces.Term<?>,net.sf.tweety.logics.commons.syntax.interfaces.Term<?>>>public ASPOperator.ArithmeticOperator getOperator()
public void setOperator(ASPOperator.ArithmeticOperator op)
an - arithmetic operatorpublic net.sf.tweety.logics.commons.syntax.interfaces.Term<?> getLeft()
public net.sf.tweety.logics.commons.syntax.interfaces.Term<?> getRight()
Copyright © 2019. All rights reserved.