initEHHOCBO: Initialize Position on Enhanced Harris Hawks Optimization...

View source: R/EHHOCBO_opt.R

initEHHOCBOR Documentation

Initialize Position on Enhanced Harris Hawks Optimization with Coot Bird Optimization

Description

This function generates the initial position of all agents (X) within the defined upper and lower bound in every dimension.

Usage

initEHHOCBO(N, dim, ub, lb)

Arguments

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.

Value

A numeric matrix of shape (N, dim) representing initialized positions.

Note

This function used inside EHHOCBO function for initialization process.


metaSVR documentation built on Aug. 21, 2025, 5:58 p.m.