panobbgo.heuristics.center.Center#
- class panobbgo.heuristics.center.Center(strategy)[source]#
This heuristic checks the point in the center of the box.
- Parameters:
strategy (StrategyBase)
name (str)
@type strategy: StrategyBase
- __init__(strategy)[source]#
- Parameters:
strategy (StrategyBase)
name (str)
@type strategy: StrategyBase
Methods
__init__(strategy)check_dependencies(analyzers, heuristics)This method is called by the core initialization to assess, if the dependencies for the given module are met.
clear_output()emit(points)This is used to send out new search points for evaluation.
get_points([limit])Drain the output queue until
limitpoints are removed or it is empty.on_start()Attributes
activeThis is queried by the strategy to determine, if it should still consider it.
eventbusnameThe module's name.
problemresultsstrategy