org.dllearner.learningproblems.fuzzydll
Enum FuzzyPosNegLP.UseMultiInstanceChecks

java.lang.Object
  extended by java.lang.Enum<FuzzyPosNegLP.UseMultiInstanceChecks>
      extended by org.dllearner.learningproblems.fuzzydll.FuzzyPosNegLP.UseMultiInstanceChecks
All Implemented Interfaces:
Serializable, Comparable<FuzzyPosNegLP.UseMultiInstanceChecks>
Enclosing class:
FuzzyPosNegLP

public static enum FuzzyPosNegLP.UseMultiInstanceChecks
extends Enum<FuzzyPosNegLP.UseMultiInstanceChecks>

If instance checks are used for testing concepts (e.g. no retrieval), then there are several options to do this. The enumeration lists the supported options. These options are only important if the reasoning mechanism supports sending several reasoning requests at once as it is the case for DIG reasoners.

Author:
Jens Lehmann

Enum Constant Summary
NEVER
          Perform a separate instance check for each example.
ONECHECK
          Perform all instance checks at once.
TWOCHECKS
          Perform one instance check for all positive and one instance check for all negative examples.
 
Method Summary
static FuzzyPosNegLP.UseMultiInstanceChecks valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FuzzyPosNegLP.UseMultiInstanceChecks[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NEVER

public static final FuzzyPosNegLP.UseMultiInstanceChecks NEVER
Perform a separate instance check for each example.


TWOCHECKS

public static final FuzzyPosNegLP.UseMultiInstanceChecks TWOCHECKS
Perform one instance check for all positive and one instance check for all negative examples.


ONECHECK

public static final FuzzyPosNegLP.UseMultiInstanceChecks ONECHECK
Perform all instance checks at once.

Method Detail

values

public static FuzzyPosNegLP.UseMultiInstanceChecks[] 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 (FuzzyPosNegLP.UseMultiInstanceChecks c : FuzzyPosNegLP.UseMultiInstanceChecks.values())
    System.out.println(c);

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

valueOf

public static FuzzyPosNegLP.UseMultiInstanceChecks valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


SourceForge.net Logo DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2011 Jens Lehmann