java.lang.Object
fr.boreal.backward_chaining.core.NoCoreProcessor
- All Implemented Interfaces:
QueryCoreProcessor
- Author:
- Florent Tornil Core computing implementation that does nothing Use this if you don't want to compute the core but an algorithm ask for one.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncomputeCore(FOQuery query) Compute the core of a query by removing all the redundant atoms in it, in considering the answer variables as constants, these variables must belong to the core.
-
Constructor Details
-
NoCoreProcessor
public NoCoreProcessor()
-
-
Method Details
-
computeCore
Description copied from interface:QueryCoreProcessorCompute the core of a query by removing all the redundant atoms in it, in considering the answer variables as constants, these variables must belong to the core.- Specified by:
computeCorein interfaceQueryCoreProcessor- Parameters:
query- a FOQuery we want to compute the core- Returns:
- a query representing the core of the given query
-