Enum Class SearchMode

java.lang.Object
java.lang.Enum<SearchMode>
com.chemaxon.search.mcs.SearchMode
All Implemented Interfaces:
Serializable, Comparable<SearchMode>, java.lang.constant.Constable

@PublicAPI public enum SearchMode extends Enum<SearchMode>
Enum type for search modes of MaxCommonSubstructure (MCS) algorithms. The applied mode controls the running time and the accuracy of the heuristic algorithms.
See Also:
  • Enum Constant Details

    • NORMAL

      public static final SearchMode NORMAL
      Normal search mode. It is the default option, which yields quite good results in relatively short time.
    • FAST

      public static final SearchMode FAST
      Fast search mode. It is faster than the NORMAL search mode, but could find smaller common substructures (especially for large molecules).
  • Method Details

    • values

      public static SearchMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SearchMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null