HyperGP.libs.LGPIndv#

class LGPIndv[source]#
__init__(states=None, encode=None, **kwargs)[source]#

initialize the states

Methods

__init__([states, encode])

initialize the states

buildProgram(cond[, method, node_states])

copy()

deepcopy()

depth()

funcRegister(func, *args, **kwargs)

gen_array(node)

get_encode(item)

gfuncRegister(func, *args, **kwargs)

gmoduleRegister(**kwargs)

gstateRegister(**kwargs)

list([parent, childs])

make(encode_array, states, pset_map, memo)

moduleRegister(**kwargs)

set_encode(key, value)

slice([begin, end])

Generate a slice object that defines the range of a subtree with the element of the 'begin' index as its root.

stateRegister(**kwargs)

update(target_ind)

Attributes

available_mods

gmodule_states

gstates

states

initialize states set

module_states

initialize states set

__init__(states=None, encode=None, **kwargs)[source]#

initialize the states

__new__(**kwargs)#