Giter VIP home page Giter VIP logo

code-for-iafsa's Introduction

Improved-Artificial-Fish-Swarm-Algorithm

Description

This is the MATLAB code for Improved Artificial Fish Swarm Algorithm (IAFSA). The code is used for global path planning of autonomous surface vessels.
The mathematical background of IAFSA is detailed descriped in the author's article:
Zhao, L., Wang, F., Bai, Y., 2022. Route planning for autonomous vessels based on improved artificial fish swarm algorithm. Ships and Offshore Structures 18, 897–906.

Files

Main Function

  • IAFSA: m file. The main function of the algorithm. The function starts with the reading of the environment map and returns the x/y coordinates and yaw angle of the planned waypoints.
  • GridAF_prey: m file. The modified prey behavior of the artificial fish. The directional operator and probability weight factor are included here.
  • GridAF_follow: m file. The artificial fish will follow its neighbor which is with the best food consisitency. See the figure below. image
  • GridAF_swarm: m file. The artificial fish will take a step in the direction of the swarm center. See the figure below. image

Additional Function

  • image_process: m file. Read and process the environment map. Recognize the RGB color of the obstacles and ocean and convert the map into binary matrix.
  • allow_fun: m file. Calculate the allowable area in the neighborhood.
  • eachAF_dist: m file. Calculate the distance between each artificial fish.
  • arr2orxy: m file. Convert array structure into xy coordinates.
  • distance: m file. Calculate the distance between 2 artificial fish.

Running Results

image image

Contact

Liang Zhao: [email protected].

code-for-iafsa's People

Contributors

liangzhao13 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

code-for-iafsa's Issues

论文链接失效

您好,对您的工作非常感兴趣,但是无法获取论文,请问可以再发一下吗,谢谢了!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.