Learn R Programming

nlmixr2auto (version 1.0.0)

initNodeList: Initialize node list for ACO search space

Description

Construct the initial edge list used in model structure search based on ant colony optimization.

Usage

initNodeList(search.space, phi0)

Value

A data.frame in which each row represents an edge in the ACO path-construction graph, with the following columns:

travel

Integer. Travel counter associated with the edge, initialized to zero.

node.no

Integer. Decision node identifier corresponding to a model feature.

node.name

Character. Semantic label of the decision node.

edge.no

Integer. Global edge index.

local.edge.no

Integer. Index of the edge within the corresponding decision node.

edge.name

Character. Semantic label of the edge (model component choice).

phi

Numeric. Initial pheromone value associated with the edge.

delta_phi

Numeric. Change in pheromone level, initialized to zero.

p

Numeric. Initial selection probability of the edge.

Arguments

search.space

Character, one of "ivbase" or "oralbase". Default is "ivbase".

phi0

A non-negative numeric value. Initial pheromone value assigned to all nodes at the start of the search. Defaults to 2.

Author

Zhonghui Huang

Examples

Run this code
initNodeList(search.space = "ivbase", phi0 = 1)
initNodeList(search.space = "oralbase", phi0 = 1)

Run the code above in your browser using DataLab