|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<MCES.TerminationCause>
chemaxon.sss.search.MCES.TerminationCause
public static enum MCES.TerminationCause
Enum type for causes of MCES search termination.
Various limits can be specified for the search process. If a limit is reached, then the
algorithm terminates with the best result obtained so far. The cause of the termination
can be retrieved using MCES.getTerminationCause().
| Enum Constant Summary | |
|---|---|
FINISHED
Normal termination. |
|
OPTIMAL
Optimal MCES is found. |
|
STEP_LIMIT
The step count limit is reached. |
|
TIME_LIMIT
The time limit is reached. |
|
| Method Summary | |
|---|---|
static MCES.TerminationCause |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static MCES.TerminationCause[] |
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 |
|---|
public static final MCES.TerminationCause FINISHED
MCES search mode
is accomplished. The found common substructure may be either optimal
(the largest one) or smaller.
Since the algorithm is heuristic, it not necessarily finds the exact MCES.
In many cases, however, it can guarantee that the found result is optimal,
which is indicated by OPTIMAL termination cause.
public static final MCES.TerminationCause OPTIMAL
FINISHED termination cause is returned.
public static final MCES.TerminationCause STEP_LIMIT
search mode.
MCES.setStepCountLimit()public static final MCES.TerminationCause TIME_LIMIT
search mode.
MCES.setTimeLimit()| Method Detail |
|---|
public static MCES.TerminationCause[] values()
for (MCES.TerminationCause c : MCES.TerminationCause.values()) System.out.println(c);
public static MCES.TerminationCause valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||