
net.sf.tweety.arg.aspic.syntax.DefeasibleInferenceRule Maven / Gradle / Ivy
/*
* This file is part of "TweetyProject", a collection of Java libraries for
* logical aspects of artificial intelligence and knowledge representation.
*
* TweetyProject is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see .
*
* Copyright 2016 The TweetyProject Team
*/
package net.sf.tweety.arg.aspic.syntax;
import java.util.Collection;
import net.sf.tweety.logics.commons.syntax.interfaces.Invertable;
/**
* @author Nils Geilen
*
* Defeasible implementation of InferenceRule
*
* @param is the type of the language that the ASPIC theory's rules range over
*/
public class DefeasibleInferenceRule extends InferenceRule {
/**
* Constructs an empty instance
*/
public DefeasibleInferenceRule(){
}
/**
* Constructs a defeasible inference rule p => c
* @param conclusion ^= p
* @param premise ^= c
*/
public DefeasibleInferenceRule(T conclusion, Collection premise) {
super(conclusion, premise);
}
/* (non-Javadoc)
* @see net.sf.tweety.arg.aspic.syntax.InferenceRule#isDefeasible()
*/
@Override
public boolean isDefeasible() {
return true;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy