net.sf.tweety.commons.KernelProvider 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.commons;
import java.util.Collection;
/**
* Classes implementing this interface are able to provide kernels (=minimal proofs).
*
* @author Matthias Thimm
*
* @param the type of formulas
*/
public interface KernelProvider {
/**
* Retrieves the set of kernels for the given formula
* from the given set of formulas.
* @param formulas a set of formulas.
* @param formula a formula.
* @return the collection of kernels
*/
public Collection> getKernels(Collection formulas, T formula);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy