update_unique_ids: Create the Unique Identifiers for New Nodes

View source: R/net.accessor.R

update_unique_idsR Documentation

Create the Unique Identifiers for New Nodes

Description

This function is called by append_core_attr and appends new unique_ids to the created nodes. It also keeps track of the already used unique_ids with the dat$run$last_unique_id variable.

Usage

update_unique_ids(dat, n.new)

Arguments

dat

Main netsim_dat object containing a networkDynamic object and other initialization information passed from netsim.

n.new

The number of new nodes to give unique_ids to.

Value

The updated netsim_dat main list object.


EpiModel documentation built on Oct. 12, 2024, 1:06 a.m.