Class NoCoreProcessor

java.lang.Object
fr.inria.rules.integraal.backward_chaining.core.NoCoreProcessor
All Implemented Interfaces:
QueryCoreProcessor

public class NoCoreProcessor extends Object implements QueryCoreProcessor
Core computing implementation that does nothing Use this if you don't want to compute the core but an algorithm ask for one.
Author:
Florent Tornil
  • Constructor Details

    • NoCoreProcessor

      public NoCoreProcessor()
      Creates a core processor that returns queries unchanged.
  • Method Details

    • computeCore

      public FOQuery<? extends FOFormula> computeCore(FOQuery<? extends FOFormula> query)
      Description copied from interface: QueryCoreProcessor
      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.
      Specified by:
      computeCore in interface QueryCoreProcessor
      Parameters:
      query - a FOQuery we want to compute the core
      Returns:
      a query representing the core of the given query