Fruit-Fly Optimization Algorithm.

class opytimizer.optimizers.swarm.ffoa.FFOA(params: Optional[Dict[str, Any]] = None)

A FFOA class, inherited from Optimizer.

This is the designed class to define FFOA-related variables and methods.


W.-T. Pan. A new Fruit Fly Optimization Algorithm: Taking the financial distress model as an example. Knowledge-Based Systems (2012).

__init__(params: Optional[Dict[str, Any]] = None) → None

Initialization method.

Parameters:params – Contains key-value parameters to the meta-heuristics.

x axis.


y axis.

compile(space: opytimizer.core.space.Space) → None

Compiles additional information that is used by this optimizer.

Parameters:space – A Space object containing meta-information.
update(space: opytimizer.core.space.Space, function: opytimizer.core.function.Function) → None

Wraps Fruit-Fly Optimization Algorithm over all agents and variables.

  • space – Space containing agents and update-related information.
  • function – A Function object that will be used as the objective function.