Class Blocking

  • Direct Known Subclasses:
    EqualityBlocking, OptimizedDoubleBlocking, SubsetBlocking

    public abstract class Blocking
    extends java.lang.Object

    Generic class to check if an _individual in an completion graph is _blocked by another _individual. Blocking prevents infinite models to be created and can improve performance by limiting the size of the completion graph built.

    This abstract class defines the basic functionality needed to check for blocking and leaves the actual check of blocking _condition between a pair of individuals to its concrete subclasses that may do different things based on the expressivity of the _current kb.

    Author:
    Evren Sirin
    • Field Detail

      • _logger

        public static final java.util.logging.Logger _logger
    • Method Detail

      • isDynamic

        public boolean isDynamic()
      • isBlocked

        public boolean isBlocked​(Individual blocked)
      • isIndirectlyBlocked

        public boolean isIndirectlyBlocked​(Individual blocked)
      • isDirectlyBlocked

        public boolean isDirectlyBlocked​(Individual blocked)