#include <BipartiteMap.h>
Public Types | |
| typedef B::const_iterator | blue_it |
| typedef R::const_iterator | red_it |
Public Member Functions | |
| BipartiteMap () | |
| BipartiteMap (const AreLinked &are) | |
| void | doLink (RedRef r, BlueRef b) |
| void | mayLink (RedRef r, BlueRef b) |
| void | unlink (RedRef r, BlueRef b) |
| void | copyLinks (RedRef to, RedRef from) |
| void | copyLinks (BlueRef to, BlueRef from) |
| pair< blue_it, blue_it > | readRed (RedRef r) const |
| pair< red_it, red_it > | readBlue (BlueRef b) const |
| size_t | numRed () const |
| size_t | numBlue () const |
| size_t | numRedWithLinks () const |
| size_t | numBlueWithLinks () const |
| bool | isRed (RedRef r) const |
| bool | isBlue (BlueRef b) const |
| void | addRed (RedRef r) |
| void | addBlue (BlueRef b) |
| template<class iterator1, class iterator2> | |
| void | replaceRed (iterator1 oldred, const iterator1 &oldend, iterator2 newred, const iterator2 &newend) |
| template<class iterator1, class iterator2> | |
| void | replaceBlue (iterator1 oldblue, const iterator1 &oldend, iterator2 newblue, const iterator2 &newend) |
|
|||||
|
|
|
|||||
|
|
|
|||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||
|
|
|
||||||||||||||||
|
|
1.4.6