aGrUM 2.3.2
a C++ library for (probabilistic) graphical models

Set of pairs of elements with fast search for both elements. More...

Collaboration diagram for Bijections:

Classes

class  gum::BijectionImplementation< T1, T2, Gen >
 A non scalar implementation of a Bijection. More...
class  gum::BijectionIteratorGet< gen >
 Dummy classes for discriminating scalars and non-scalars operators and -> wihtout any overhead. More...
class  gum::BijectionIteratorSafe< T1, T2 >
 Safe iterators for bijectionIterator. More...
class  gum::BijectionIterator< T1, T2 >
 Unsafe iterators for bijection. More...
class  gum::Bijection< T1, T2 >
 Set of pairs of elements with fast search for both elements. More...

Detailed Description

Set of pairs of elements with fast search for both elements.

The gum::Bijection class is designed for modeling a gum::Bijection between two sets, the idea is following :

  • We want to create a gum::Bjection relation between type T1 and type T2,
  • For x in T1, there exists only one y in T2 associated to x,
  • For y in T2, there exists only one x in T1 associated to y,
  • The user inserts all the (x, y) associations and can search efficiently the values thus associated.