Package net.sf.tweety.arg.adf.semantics
Class Link
- java.lang.Object
-
- net.sf.tweety.arg.adf.semantics.Link
-
public class Link extends java.lang.ObjectA simple immutable representation of ADF links.- Author:
- Mathias Hofer
-
-
Method Summary
Modifier and Type Method Description ArgumentgetFrom()LinkTypegetLinkType()ArgumentgetTo()booleanisAttacking()booleanisBipolar()booleanisDependent()booleanisRedundant()booleanisSupporting()java.lang.StringtoString()
-
-
-
Method Detail
-
getFrom
public Argument getFrom()
-
getTo
public Argument getTo()
-
getLinkType
public LinkType getLinkType()
-
isAttacking
public boolean isAttacking()
-
isSupporting
public boolean isSupporting()
-
isDependent
public boolean isDependent()
-
isRedundant
public boolean isRedundant()
-
isBipolar
public boolean isBipolar()
- Returns:
- true iff the link is bipolar
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-