initHHO | R Documentation |
This function generates the initial position of Harris Hawk agents within the defined upper and lower bound in every dimension.
initHHO(N, dim, ub, lb)
N |
An integer indicate population size. |
dim |
An integer show the number of dimension (parameters) of the problem to optimize. It indicate the number of parameters to be optimized. |
ub |
A numeric vector that show upper bounds of the search space. One value per dimension |
lb |
A numeric vector that show lower bounds of the search space. One value per dimension. |
A numeric matrix of shape (N, dim)
representing initialized positions.
This function used inside HHO function for initialization process.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.