initGWO: Initialize Position on Grey Wolf Optimizer

View source: R/GWO_opt.R

initGWOR Documentation

Initialize Position on Grey Wolf Optimizer

Description

This function generates the initial position of gray wolf within the defined upper and lower bound in every dimension.

Usage

initGWO(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 GWO function for initialization process.


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