Rain Water Algorithm
Rain Water Algorithm is a new algorithm that inspired by the pattern of physically rain water movements from air to the lowest place on the earth. The initialization stages is performed by determine the number of rain water, number of iteration, dimensions, lower and upper bound of optimized variables. Furthermore, random value of height and mass of each rain water are determined. The velocities (V0) and positions (S0) of rain water are calculated to find out time that needed of rain water to the ground. Dijkstra’s Algorithm is utilized to determine the positions between rain water on the ground. The rain water will move to the lowest positions with each velocities depended on the mass and elevation. New positions will be updated follow the Newton’s law of motion
Cite As
Totok Biyanto (2024). Rain Water Algorithm (https://www.mathworks.com/matlabcentral/fileexchange/65617-rain-water-algorithm), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | V1 |