Documentation of 'org.jgap.IJGAPFactory' Java class
IJGAPFactory
org.jgap

Interface IJGAPFactory

  • All Superinterfaces:
    java.io.Serializable
    All Known Implementing Classes:
    JGAPFactory


    public interface IJGAPFactory
    extends java.io.Serializable
    Interface for central factory, see JGAPFactory.
    Since:
    2.6
    • Field Detail

      • CVS_REVISION

        static final java.lang.String CVS_REVISION
        String containing the CVS revision. Read out via reflection!
        See Also:
        Constant Field Values
    • Method Detail

      • setParameters

        void setParameters(java.util.Collection a_parameters)
      • createRandomGenerator

        RandomGenerator createRandomGenerator()
        Returns:
        newly created instance of a RandomGenerator
      • getCloneHandlerFor

        ICloneHandler getCloneHandlerFor(java.lang.Object a_obj,
                                         java.lang.Class a_classToClone)
        Retrieves a clone handler capable of clone the given class.
        Parameters:
        a_obj - the object to clone (maybe null)
        a_classToClone - the class to clone an object of
        Returns:
        the clone handler found capable of clone the given class, or null if none registered
        Since:
        2.6
      • registerCloneHandler

        int registerCloneHandler(ICloneHandler a_cloneHandler)
        Registers a clone handler that could be retrieved by getCloneHandlerFor(Class).
        Parameters:
        a_cloneHandler - the ICloneHandler to register
        Returns:
        index of the added clone handler, needed when removeCloneHandler will be called
        Since:
        2.6
      • getInitializerFor

        IInitializer getInitializerFor(java.lang.Object a_obj,
                                       java.lang.Class a_objToInit)
        Retrieves an initializer capable of initializing the Object of the given class.
        Parameters:
        a_obj - the object to init (maybe null)
        a_objToInit - the object class to init
        Returns:
        the initializer found capable of initializing an object of the given class, or null if none registered
        Since:
        2.6
      • registerInitializer

        int registerInitializer(IInitializer a_chromIniter)
        Registers an initializer that could be retrieved by getInitializerFor(Class).
        Parameters:
        a_chromIniter - the IChromosomeInitializer to register
        Returns:
        index of the added initializer, needed when removeChromosomeInitializer will be called
        Since:
        2.6
      • getCompareToHandlerFor

        ICompareToHandler getCompareToHandlerFor(java.lang.Object a_obj,
                                                 java.lang.Class a_classToCompareTo)
        Retrieves a handler capable of comparing two instances of the given class.
        Parameters:
        a_obj - the object to compare (maybe null)
        a_classToCompareTo - the class instances to compare (maybe null)
        Returns:
        the handler found capable of comparing instances of the given class, or null if none registered
        Since:
        2.6
      • registerCompareToHandler

        int registerCompareToHandler(ICompareToHandler a_compareToHandler)
        Registers a compareTo-handler that could be retrieved by getCompareToHandlerFor(Class).
        Parameters:
        a_compareToHandler - the ICompareToHandler to register
        Returns:
        index of the added handler, needed when removeCompareToHandler will be called
        Since:
        2.6

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.