mealpy icon indicating copy to clipboard operation
mealpy copied to clipboard

[FEAT]: Chaos mapping initialization

Open hjh-2001 opened this issue 1 year ago • 2 comments

Description

Is there a method for generating random numbers using chaos mapping implemented in the code?

Additional Information

No response

hjh-2001 avatar Jan 02 '25 10:01 hjh-2001

@hjh-2001,

Could you please explain more detail about your idea. Usually, metaheuristics only use uniform or normal distribution to generate random number. Unless, you want to design your own algorithm, you can use chaos mapping method.

We design the library in modulating architecture, so you can design your own search space operator by building a child class of BaseVar and implement your own chaos method in decode(), encode(), generate(), correct() functions. https://mealpy.readthedocs.io/en/latest/pages/models/mealpy.utils.html#mealpy.utils.space.BaseVar

thieu1995 avatar Jan 05 '25 11:01 thieu1995

I want to generate floating-point random numbers through chaotic mapping functions such as the Logistic chaotic mapping instead of using the Random random number generator.

hjh-2001 avatar Jan 06 '25 04:01 hjh-2001

@hjh-2001, Currently, there is no way to do it. Because chaotic function is not really a standard way to random number in metaheuristics. It is only used in some improved algorithms.

thieu1995 avatar Jul 17 '25 16:07 thieu1995