File Exchange

image thumbnail

SwarmBat - The Artificial Bat Algorithm (ABA)

version 1.0 (2.04 MB) by

SwarmBat - The Artificial Bat Algorithm (ABA)

11 Downloads

Updated

View License

SwarmBat - The Artificial Bat Algorithm (ABA)

This bat algorithm is based on the echolocation behaviour of microbats with varying pulse rates of emission and loudness.

SwarmBat - The Artificial Bat Algorithm (ABA)
http://sdrv.ms/QrIpzN

Comments and Ratings (9)

venkat

venkat (view profile)

I am running tthi m file but error will accur.my error is fscanf point to help to solve my error

I am getting the following error, please provide the correction:

Begin to Evaluate...Waiting Please ...
the total test number is
5

Test NO.
1

??? Undefined function or method 'SwarmBat__entry_SO_std' for input arguments of type 'cell'.

Error in ==> SwarmBat_demo_SO_std at 160
[fitness_data ,...

sehrish

Hi Leo,
I have downloaded ur file frm http://sdrv.ms/QrIpzN
Its very good....But there are .p files which are not opening. Can u provide me them please...After runing program the output is this.

/*==================================================================================================*/
/* Swarm Optimisation and Algorithm Laboratory Toolbox 1.0.0.1 */
30-Mar-2012 Chen Yi leo.chen.yi@live.co.uk Glasgow
/*==================================================================================================*/
>>>>
Begin to Evaluate...Waiting Please ...
the total test number is
5

Test NO.
1

Test NO.
2

Test NO.
3

Test NO.
4

Test NO.
5

??? Error using ==> saveas at 115
Invalid or missing path: .\SwarmBatfigs\SGA__fitness_obj

Error in ==>
C:\Users\user\Documents\MATLAB\SwarmBat1001\SGA__fitness_plot.p>SGA__fitness_plot at 152

Error in ==>
C:\Users\user\Documents\MATLAB\SwarmBat1001\SwarmBat__entry_SO_std.p>SwarmBat__entry_SO_std
at 351

Error in ==> SwarmBat_demo_SO_std at 160
[ fitness_data ,...

How can i fix this error..Hope u will reply me soon.
Thanks.

Jawad

Jawad (view profile)

Hi Leo,

I've two stream of data inputs which are fed into fitness function which in turn returns a error calculated by MSE between them. There are six parameters which deform the data streams and make them closer to one another. I've noticed that this algorithm only do MAX optimisation, so i had to inverse my error (1/fitness) to get minimum of the function. However, it still is not giving me global optimum and goes into infinite loop. Could you please tell why it goes in the infinite loop?

Leo Chen

Leo Chen (view profile)

Hi Jawad,

If you can provide more background, maybe I can look into it deeper.

regards,

Leo

Jawad

Jawad (view profile)

Thanks! Could you please tell if it works with higher dimensional data. I tried with 6 dimensional vector in the fitness function and it give error inside .p file?

Leo Chen

Leo Chen (view profile)

Please find all other files via the link:

http://sdrv.ms/QrIpzN

SwarmBat - The Artificial Bat Algorithm (ABA)

Jawad

Jawad (view profile)

Hi,

Thanks for the upload. I have tried running it however, it seems it has some missing files. It gives error that "timebar" and main function "SwarmBat__entry_SO_std" are missing. In addition to that i do not understand why there are lot of file reads for just options. Could we not just use an option vector there?

Regards,

MATLAB Release
MATLAB 7.6 (R2008a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video