Documentation of 'ec.gp.build.RandTree' Java class
RandTree
ec.gp.build

Class RandTree

    • Constructor Detail

      • RandTree

        public RandTree()
    • Method Detail

      • defaultBase

        public Parameter defaultBase()
        Description copied from interface: Prototype
        Returns the default base for this prototype. This should generally be implemented by building off of the static base() method on the DefaultsForm object for the prototype's package. This should be callable during setup(...).
      • setup

        public void setup(EvolutionState state,
                          Parameter base)
        Description copied from interface: Prototype
        Sets up the object by reading it from the parameters stored in state, built off of the parameter base base. If an ancestor implements this method, be sure to call super.setup(state,base); before you do anything else.

        For prototypes, setup(...) is typically called once for the prototype instance; cloned instances do not receive the setup(...) call. setup(...) may be called more than once; the only guarantee is that it will get called at least once on an instance or some "parent" object from which it was ultimately cloned.

        Specified by:
        setup in interface Prototype
        Specified by:
        setup in interface Setup
        Overrides:
        setup in class GPNodeBuilder
      • buildDyckWord

        public java.lang.String buildDyckWord(int requestedSize,
                                              int[] arities,
                                              int[] s,
                                              EvolutionState state,
                                              int thread)
      • checkDyckWord

        public boolean checkDyckWord(java.lang.String dyck)

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.