|
Developer Documentation |
|
Centre for Vision, Speech & Signal Processing |
Comments:
This allows a reversable mapping between two hashed items.
For quick mapping in both directions.
Forward is nominally from D1T to D2T.
Variables:
- HashARC hmap1;
-
- HashARC hmap2;
-
Methods:
- BiHashARC(UIntT nBins = 23)
-
Constructor.
- D2T & Map1(const D1T & key)
-
Do a lookup on data type 1
- D2T & Fwd(const D1T & key)
-
Do a lookup on data type 1
- BooleanT IsFwd(const D1T & key) const
-
Do we have a forward mapping.
- D1T & Map2(const D2T & key)
-
Do a lookup on data type 2;
- D2T & Bkw(const D1T & key)
-
Do a lookup on data type 2
- BooleanT IsBkw(const D2T & key) const
-
Do we have a forward mapping.
- BooleanT Insert(const D1T & d1,const D2T & d2)
-
Insert a mapping into the table.
Should check that they are reversable ?
- BooleanT DelMap1(const D1T & key)
-
Delete a mapping from the table, using d1 as the key.
- BooleanT DelMap2(const D2T & key)
-
Delete a mapping from the table, using d2 as the key.
- UIntT Size() const
-
Get number of mappings.
|
Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001
|