Enum LearningPolicy

    • Enum Constant Detail

      • FIRST_LOOP

        public static final LearningPolicy FIRST_LOOP
        This policy means - we learn during 1 cycle, and allocate workspace memory right after it's done.
      • OVER_TIME

        public static final LearningPolicy OVER_TIME
        This policy means - we learn during multiple cycles, and allocate after WorkspaceConfiguration.cyclesBeforeInitialization or after manual call to MemoryWorkspace.initializeWorkspace
      • NONE

        public static final LearningPolicy NONE
        This policy means - no learning is assumed, WorkspaceConfiguration.initialSize value will be primary determinant for workspace size
    • Method Detail

      • values

        public static LearningPolicy[] 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 (LearningPolicy c : LearningPolicy.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static LearningPolicy 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