Class DefeasibleInferenceRule<T extends net.sf.tweety.logics.commons.syntax.interfaces.Invertable>

  • 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>, net.sf.tweety.logics.commons.syntax.interfaces.ComplexLogicalFormula, net.sf.tweety.logics.commons.syntax.interfaces.LogicStructure, net.sf.tweety.logics.commons.syntax.interfaces.SimpleLogicalFormula

    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 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 - ^= p
        premise - ^= c
    • Method Detail

      • isDefeasible

        public boolean isDefeasible()
        Specified by:
        isDefeasible in class InferenceRule<T extends net.sf.tweety.logics.commons.syntax.interfaces.Invertable>
        Returns:
        true iff this rule is defeasible
      • clone

        public DefeasibleInferenceRule<T> clone()
        Specified by:
        clone in interface net.sf.tweety.logics.commons.syntax.interfaces.ComplexLogicalFormula
        Specified by:
        clone in interface net.sf.tweety.logics.commons.syntax.interfaces.SimpleLogicalFormula
        Specified by:
        clone in class InferenceRule<T extends net.sf.tweety.logics.commons.syntax.interfaces.Invertable>