Posts

Showing posts from April 18, 2020

New Post

Poplar Optimization Algorithm || Step-By-Step || ~xRay Pixy

Image
The Poplar Optimization Algorithm (POA) is a nature-inspired optimization method based on how poplar trees reproduce. It uses sexual propagation (seed dispersal by wind) for exploration and asexual reproduction (cutting and regrowth) for exploitation. Mutation and chaos factors help maintain diversity and prevent premature convergence, making POA efficient for solving complex optimization problems. Learn the Poplar Optimization Algorithm Step-By-Step using Examples. Video Chapters: Poplar Optimization Algorithm (POA) 00:00 Introduction 02:12 POA Applications 03:32 POA Steps 05:50 Execute Algorithm 1 13:45 Execute Algorithm 2 16:38 Execute Algorithm 3 18:15 Conclusion Main Points of the Poplar Optimization Algorithm (POA) Nature-Inspired Algorithm ā€“ Based on the reproductive mechanisms of poplar trees. Two Key Processes : Sexual Propagation (Seed Dispersal) ā€“ Uses wind to spread seeds, allowing broad exploration. Asexual Reproduction (Cuttings) ā€“ Strong branches grow ...

Call by value, Call by Reference, Returning Values from a Function

Image
Arguments Passing Techniques C++ is the mother of Object-Oriented Programming. Arguments Passing is a Process of transferring data between the calling function and the called function. In C++,  there are three ways by which arguments can be passed. Pass By Value Pass By Address or Pass By Pointer Pass By Reference Video Explanation:  C++ Program to swap two numbers with the third variable.     https://youtu.be/pq9VWQswqwo Video:  Call By Value Most of the programming languages like C use only the first two modules (i.e., Passing by Value and Address) whereas C++ supports all the three methods of passing arguments. Pass By Value: It is a default method for argument passing. When an argument is passed by value than a copy of the argument is made and passed to the newly created formal arguments in the called function. The formal arguments contain a copy of actual arguments which is stored in the separate memory location.   ...
More posts