Package net.sf.tweety.arg.aspic.syntax
Class DefeasibleInferenceRule<T extends net.sf.tweety.logics.commons.syntax.interfaces.Invertable>
- java.lang.Object
-
- net.sf.tweety.arg.aspic.syntax.InferenceRule<T>
-
- net.sf.tweety.arg.aspic.syntax.DefeasibleInferenceRule<T>
-
- Type Parameters:
T- is the type of the language that the ASPIC theory's rules range over
- All Implemented Interfaces:
net.sf.tweety.commons.Formula,net.sf.tweety.commons.util.rules.Rule<T,T>
public class DefeasibleInferenceRule<T extends net.sf.tweety.logics.commons.syntax.interfaces.Invertable> extends InferenceRule<T>
- Author:
- Nils Geilen
Defeasible implementation of
InferenceRule<T>
-
-
Constructor Summary
Constructors Constructor Description DefeasibleInferenceRule()Constructs an empty instanceDefeasibleInferenceRule(T conclusion, Collection<T> premise)Constructs a defeasible inference rule p => c
-
Method Summary
Modifier and Type Method Description booleanisDefeasible()-
Methods inherited from class net.sf.tweety.arg.aspic.syntax.InferenceRule
addPremise, addPremises, equals, getConclusion, getIdentifier, getName, getPremise, getSignature, hashCode, isConstraint, isFact, setConclusion, setName, toDefeasible, toStrict, toString
-
-
-
-
Constructor Detail
-
DefeasibleInferenceRule
public DefeasibleInferenceRule()
Constructs an empty instance
-
DefeasibleInferenceRule
public DefeasibleInferenceRule(T conclusion, Collection<T> premise)
Constructs a defeasible inference rule p => c- Parameters:
conclusion- ^= ppremise- ^= c
-
-
Method Detail
-
isDefeasible
public boolean isDefeasible()
- Specified by:
isDefeasiblein classInferenceRule<T extends net.sf.tweety.logics.commons.syntax.interfaces.Invertable>- Returns:
- true iff this rule is defeasible
-
-