
astra.reasoner.Queryable Maven / Gradle / Ivy
package astra.reasoner;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Queue;
import astra.formula.Formula;
/**
* A Source for {@link Reasoner} implementations. This interface defines a single method that
* should return formulae matching the given formula.
*
* @author rem
*/
public interface Queryable {
static List EMPTY_LIST = new LinkedList<>();
void addMatchingFormulae(Queue list, Formula formula);
Iterator iterator(Formula target);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy