initALO: Initialize Position on Ant Lion Optimizer

View source: R/ALO_opt.R

initALOR Documentation

Initialize Position on Ant Lion Optimizer

Description

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

Usage

initALO(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 ALO function for initialization process.


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