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.Object
A simple immutable representation of ADF links.- Author:
- Mathias Hofer
-
-
Method Summary
Modifier and Type Method Description Argument
getFrom()
LinkType
getLinkType()
Argument
getTo()
boolean
isAttacking()
boolean
isBipolar()
boolean
isDependent()
boolean
isRedundant()
boolean
isSupporting()
java.lang.String
toString()
-
-
-
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:
toString
in classjava.lang.Object
-
-