org.semanticweb.HermiT
Enum Configuration.DirectBlockingType

java.lang.Object
  extended by java.lang.Enum<Configuration.DirectBlockingType>
      extended by org.semanticweb.HermiT.Configuration.DirectBlockingType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Configuration.DirectBlockingType>
Enclosing class:
Configuration

public static enum Configuration.DirectBlockingType
extends java.lang.Enum<Configuration.DirectBlockingType>

Sets the blocking type used by HermiT. This can be combined with settings for the blocking strategy (anywhere or ancestor or core blocking).


Enum Constant Summary
OPTIMAL
          Chooses the optimal blocking.
PAIR_WISE
          Forces HermiT to use pairwise blocking even if the ontology does not require that (contains no inverses).
SINGLE
          Forces HermiT to use single blocking even if the ontology is not suitable for single blocking (contains inverse roles).
 
Method Summary
static Configuration.DirectBlockingType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Configuration.DirectBlockingType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SINGLE

public static final Configuration.DirectBlockingType SINGLE
Forces HermiT to use single blocking even if the ontology is not suitable for single blocking (contains inverse roles).


PAIR_WISE

public static final Configuration.DirectBlockingType PAIR_WISE
Forces HermiT to use pairwise blocking even if the ontology does not require that (contains no inverses).


OPTIMAL

public static final Configuration.DirectBlockingType OPTIMAL
Chooses the optimal blocking. If the ontology contains nominals HermiT will use single simple core blocking (works even with inverses) and otherwise HermiT uses single blocking if the ontology contains no inverses and pairwise blocking otherwise.

Method Detail

values

public static Configuration.DirectBlockingType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Configuration.DirectBlockingType c : Configuration.DirectBlockingType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Configuration.DirectBlockingType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null