startids {graph}R Documentation

Functions to associate identifiers with graph components.

Description

We are experimenting with different methods for dealing with components of graphs (such as subgraphs). One way to do this is to assign a unique identifier to each component of a graph. Subgraphs then need only retain the identity of the graph and the ids for the selected components.

The intention is to have these be internal to the graph package and they will likely not be exported. They are primarily for housekeeping purposes.

There are currently two ways of assigning IDs. One relies on the Ruuid package the other on integers. In the long run only Ruuid will be supported.

Usage

startids(x)
newID(cur)

Arguments

x an integer to start numbering components from.
cur an integer, the current index

Details

startids sets the starting value for the sequence. It has

Value

These are used basically just for side effects and internally. Users should not use them. If you want uuids please use Ruuid directly.

Author(s)

R. Gentleman

Examples



[Package Contents]