org.deri.iris.evaluation.topdown
Interface ITopDownEvaluator

All Known Implementing Classes:
OLDTEvaluator, SLDNFEvaluator

public interface ITopDownEvaluator

Interface for top-down evaluators

Author:
gigi

Method Summary
 IRelation evaluate(IQuery query)
          Evaluate a query
 List<IVariable> getOutputVariables()
          Returns a list of output variables, i.e.
 

Method Detail

evaluate

IRelation evaluate(IQuery query)
                   throws EvaluationException
Evaluate a query

Parameters:
query - a query
Returns:
relation containing all resolved tuples.
Throws:
EvaluationException - thrown on error

getOutputVariables

List<IVariable> getOutputVariables()
Returns a list of output variables, i.e. the variables of the initial query.

Returns:
list of output variables