Package net.sf.tweety.arg.aba.syntax
Class InferenceRule<T extends net.sf.tweety.commons.Formula>
- java.lang.Object
-
- net.sf.tweety.arg.aba.syntax.InferenceRule<T>
-
- Type Parameters:
T- is the type of the language that the ABA theory's rules range over
- All Implemented Interfaces:
ABARule<T>,net.sf.tweety.commons.Formula,net.sf.tweety.commons.util.rules.Rule<T,T>
public class InferenceRule<T extends net.sf.tweety.commons.Formula> extends Object implements ABARule<T>
- Author:
- Nils Geilen (geilenn@uni-koblenz.de) An inference rule from an ABA theory
-
-
Constructor Summary
Constructors Constructor Description InferenceRule()
-
Method Summary
Modifier and Type Method Description voidaddPremise(T premise)voidaddPremises(Collection<? extends T> premises)booleanequals(Object obj)TgetConclusion()Collection<? extends T>getPremise()net.sf.tweety.commons.SignaturegetSignature()inthashCode()booleanisAssumption()booleanisConstraint()booleanisFact()voidsetConclusion(T conclusion)StringtoString()
-
-
-
Method Detail
-
isFact
public boolean isFact()
-
isConstraint
public boolean isConstraint()
-
setConclusion
public void setConclusion(T conclusion)
-
addPremise
public void addPremise(T premise)
-
addPremises
public void addPremises(Collection<? extends T> premises)
-
getSignature
public net.sf.tweety.commons.Signature getSignature()
-
getPremise
public Collection<? extends T> getPremise()
-
getConclusion
public T getConclusion()
-
isAssumption
public boolean isAssumption()
- Specified by:
isAssumptionin interfaceABARule<T extends net.sf.tweety.commons.Formula>- Returns:
- whether this rule is an assumption
-
-