All Downloads are FREE. Search and download functionalities are using the official Maven repository.

astra.reasoner.Queryable Maven / Gradle / Ivy

There is a newer version: 1.4.2
Show newest version
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 - 2024 Weber Informatics LLC | Privacy Policy