Documentation of 'org.encog.Encog' Java class
Encog
org.encog

Class Encog



  • public final class Encog
    extends java.lang.Object
    Main Encog class, does little more than provide version information. Also used to hold the ORM session that Encog uses to work with Hibernate.
    • Field Detail

      • DEFAULT_ENCODING

        public static final java.lang.String DEFAULT_ENCODING
        The default encoding used by Encog.
        See Also:
        Constant Field Values
      • VERSION

        public static final java.lang.String VERSION
        The current engog version, this should be read from the properties.
        See Also:
        Constant Field Values
      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        The current engog version, this should be read from the properties.
        See Also:
        Constant Field Values
      • LICENSE

        public static final java.lang.String LICENSE
        The current engog version, this should be read from the properties.
        See Also:
        Constant Field Values
      • DEFAULT_PRECISION

        public static final int DEFAULT_PRECISION
        The default precision to use for compares.
        See Also:
        Constant Field Values
      • DEFAULT_DOUBLE_EQUAL

        public static final double DEFAULT_DOUBLE_EQUAL
        Default point at which two doubles are equal.
        See Also:
        Constant Field Values
      • ENCOG_VERSION

        public static final java.lang.String ENCOG_VERSION
        The version of the Encog JAR we are working with. Given in the form x.x.x.
        See Also:
        Constant Field Values
      • ENCOG_FILE_VERSION

        public static final java.lang.String ENCOG_FILE_VERSION
        The encog file version. This determines of an encog file can be read. This is simply an integer, that started with zero and is incremented each time the format of the encog data file changes.
        See Also:
        Constant Field Values
    • Method Detail

      • getInstance

        public static Encog getInstance()
        Get the instance to the singleton.
        Returns:
        The instance.
      • getProperties

        public java.util.Map<java.lang.String,java.lang.String> getProperties()
        Returns:
        the properties
      • registerPlugin

        public void registerPlugin(EncogPluginBase plugin)
        Register a plugin. If this plugin provides a core service, such as calculation or logging, this will remove the old plugin.
        Parameters:
        plugin - The plugin to register.
      • unregisterPlugin

        public void unregisterPlugin(EncogPluginBase plugin)
        Unregister a plugin. If you unregister the current logging or calc plugin, a new system one will be created. Encog will crash without a logging or system plugin.
        Parameters:
        plugin - The plugin.
      • shutdown

        public void shutdown()
        Provides any shutdown that Encog may need. Currently this shuts down the thread pool.
      • getPlugins

        public java.util.Collection<EncogPluginBase> getPlugins()
        Get a list of the registered plugins.
        Returns:
        The registered plugins.
      • isOSX

        public static boolean isOSX()
        Returns:
        True, if running on OSX.
      • getRandomFactory

        public RandomFactory getRandomFactory()
        Returns:
        the randomFactory
      • setRandomFactory

        public void setRandomFactory(RandomFactory randomFactory)
        Parameters:
        randomFactory - the randomFactory to set
      • addShutdownTask

        public void addShutdownTask(EncogShutdownTask task)
        Add a shutdown task.
        Parameters:
        task - The shutdown task.
      • removeShutdownTask

        public void removeShutdownTask(EncogShutdownTask task)
        Remove a shutdown task.
        Parameters:
        task - The shutdown task.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.