Skip to main content

ChaoticCDO

Module: opytimizer.optimizers.single_objective.science.cdo

Chaotic Chernobyl Disaster Optimizer.

This variant uses chaotic maps to improve the search behavior.

Constructor​

ChaoticCDO(params: Optional[Dict[str, Any]] = None) -> None

Parameters​

ParameterTypeDefaultDescription
paramsOptional[Dict[str, Any]]None—

Methods​

get_chaotic_value​

get_chaotic_value(self) -> float

Get chaotic value based on current map type.

logistic_map​

logistic_map(self) -> float

Implements logistic map for chaos generation.

sine_map​

sine_map(self) -> float

Implements sine map for chaos generation.

tent_map​

tent_map(self) -> float

Implements tent map for chaos generation.

update​

update(self, space: opytimizer.core.space._SingleObjectiveSpace, function: opytimizer.core.function.Function, iteration: int, n_iterations: int) -> None

Updates using chaotic values.

Parameters​

ParameterTypeDefaultDescription
spaceopytimizer.core.space._SingleObjectiveSpaceSpace containing agents and update-related information
functionopytimizer.core.function.FunctionObjective function
iterationintCurrent iteration
n_iterationsintMaximum iterations

update_map_selection​

update_map_selection(self, success: bool) -> None

Update map selection based on success.

Parameters​

ParameterTypeDefaultDescription
successbool—