onegpy.operators.localsearch.BIHC

class onegpy.operators.localsearch.BIHC(problem, target_node='nonterminal')[source]

Best Improvement Hill Climber

__init__(problem, target_node='nonterminal')[source]
Parameters:
  • problem – problem object. problem for calculation of fitness.
  • target_node – String. target node type (eg. nonterminal, terminal)
  • func_search_type – String. String. name of function of function search.

Methods

__init__(problem[, target_node])
param problem:problem object. problem for calculation of fitness.
get_target_node(root) get a list of target nodes :param root: node object.
not_changeable_warning()

Attributes

func_bank
func_search_type
n_in
n_out
target_node