public enum LearningPolicy extends Enum<LearningPolicy>
| Enum Constant and Description |
|---|
FIRST_LOOP
This policy means - we learn during 1 cycle,
and allocate workspace memory right after it's done.
|
NONE
This policy means - no learning is assumed, WorkspaceConfiguration.initialSize value will be primary determinant for workspace size
|
OVER_TIME
This policy means - we learn during multiple cycles,
and allocate after WorkspaceConfiguration.cyclesBeforeInitialization
or after manual call to MemoryWorkspace.initializeWorkspace
|
| Modifier and Type | Method and Description |
|---|---|
static LearningPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LearningPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LearningPolicy FIRST_LOOP
public static final LearningPolicy OVER_TIME
public static final LearningPolicy NONE
public static LearningPolicy[] values()
for (LearningPolicy c : LearningPolicy.values()) System.out.println(c);
public static LearningPolicy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2018. All rights reserved.