chemaxon.sss.search
Enum MCES.SearchMode

java.lang.Object
  extended by java.lang.Enum<MCES.SearchMode>
      extended by chemaxon.sss.search.MCES.SearchMode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MCES.SearchMode>
Enclosing class:
MCES

public static enum MCES.SearchMode
extends java.lang.Enum<MCES.SearchMode>

Enum type for search modes of the MCES algorithm. The applied mode controls the running time and the accuracy of the algorithm. The default option is STANDARD, but you can set other mode using MCES.setSearchMode().


Enum Constant Summary
EXHAUSTIVE
          Exhaustive search mode.
FAST
          Fast search mode.
STANDARD
          Standard search mode.
 
Method Summary
static MCES.SearchMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MCES.SearchMode[] 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

FAST

public static final MCES.SearchMode FAST
Fast search mode. It quickly yields a raw result. It is significantly faster than the other search modes, but could find smaller common substructures (especially for large molecules).


STANDARD

public static final MCES.SearchMode STANDARD
Standard search mode. It is the default option, it yields quite good results in relatively short time. It is a well-balanced compromise between FAST and EXHAUSTIVE.


EXHAUSTIVE

public static final MCES.SearchMode EXHAUSTIVE
Exhaustive search mode. It performs a thorough search to find the largest common substructures. It is the most reliable search mode, but it could be considerably slower than the others.

Method Detail

values

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

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

valueOf

public static MCES.SearchMode 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