Struct sample_group_map

Struct Documentation

struct fwdpp::ts::sample_group_map

Maps a node id to a sample group.

When constructing a fwdpp::ts::tree_visitor, vectors of this type may be used to mark sample nodes as beloning to different “groups”.

Public Functions

sample_group_map(table_index_t n, std::int32_t g)

Parameters
  • n: A node id

  • g: A gropup label

Public Members

table_index_t node_id

fwdpp::ts::node id

std::int32_t group

group label