KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
kjb::bbb::Association Class Reference

#include <bbb_association.h>

Public Member Functions

 Association (const Traj_set &trajs)
 Construct an associaiton of the given trajectories. More...
 
template<class SetIt , class StrIt >
void set (SetIt first_set, SetIt last_set, StrIt first_name)
 Insert values for this association. More...
 
const Groupgroup (size_t k) const
 Get the kth group of this association. More...
 
size_t num_groups () const
 Get the number of groups in this association. More...
 

Detailed Description

Class represents an assignment of individuals to groups.

Constructor & Destructor Documentation

kjb::bbb::Association::Association ( const Traj_set trajs)
inline

Construct an associaiton of the given trajectories.

Member Function Documentation

const Group& kjb::bbb::Association::group ( size_t  k) const
inline

Get the kth group of this association.

size_t kjb::bbb::Association::num_groups ( ) const
inline

Get the number of groups in this association.

template<class SetIt , class StrIt >
void kjb::bbb::Association::set ( SetIt  first_set,
SetIt  last_set,
StrIt  first_name 
)

Insert values for this association.


The documentation for this class was generated from the following files: