Package net.sf.tweety.arg.aba.syntax
Class Deduction<T extends net.sf.tweety.commons.Formula>
- java.lang.Object
-
- net.sf.tweety.arg.dung.syntax.Argument
-
- net.sf.tweety.arg.aba.syntax.Deduction<T>
-
- Type Parameters:
T- is the type of the language that the ABA theory's rules range over
- All Implemented Interfaces:
net.sf.tweety.arg.dung.syntax.DungEntity,net.sf.tweety.commons.Formula,net.sf.tweety.graphs.Node
public class Deduction<T extends net.sf.tweety.commons.Formula> extends net.sf.tweety.arg.dung.syntax.ArgumentAn argument derived from an ABA theory.- Author:
- Nils Geilen
-
-
Method Summary
Modifier and Type Method Description voidaddSubDeduction(Deduction<T> sub)Adds a subdeductionbooleanequals(Object obj)Collection<T>getAllConclusions()Collection<AbaRule<T>>getAllRules()Collection<T>getAssumptions()TgetConclusion()AbaRule<T>getRule()Collection<AbaRule<T>>getRules()inthashCode()voidsetRule(AbaRule<T> rule)StringtoString()
-
-
-
Method Detail
-
getAllRules
public Collection<AbaRule<T>> getAllRules()
- Returns:
- all rules appearing in this argument.
-
getAllConclusions
public Collection<T> getAllConclusions()
- Returns:
- all conclusions appearing in this argument.
-
getConclusion
public T getConclusion()
- Returns:
- the conclusion of this deduction
-
getAssumptions
public Collection<T> getAssumptions()
- Returns:
- all assumptions employed by this deduction
-
addSubDeduction
public void addSubDeduction(Deduction<T> sub)
Adds a subdeduction- Parameters:
sub- a deduction
-
getRules
public Collection<AbaRule<T>> getRules()
- Returns:
- all rules used in this deduction
-
hashCode
public int hashCode()
- Overrides:
hashCodein classnet.sf.tweety.arg.dung.syntax.Argument
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classnet.sf.tweety.arg.dung.syntax.Argument
-
toString
public String toString()
- Overrides:
toStringin classnet.sf.tweety.arg.dung.syntax.Argument
-
-