TraDemGen Logo  1.00.11
C++ Simulated Travel Demand Generation Library
Loading...
Searching...
No Matches
DictionaryManager.cpp
Go to the documentation of this file.
1// //////////////////////////////////////////////////////////////////////
2// Import section
3// //////////////////////////////////////////////////////////////////////
4// TRADEMGEN
6
7namespace TRADEMGEN {
8 // ////////////////////////////////////////////////////////////////////
9 const stdair::Probability_T DictionaryManager::
10 keyToValue (const DictionaryKey_T iKey) {
11 // return static_cast<stdair::Probability_T>(iKey) / 1000;
12 return iKey;
13 }
14
15 // ////////////////////////////////////////////////////////////////////
17 valueToKey (const stdair::Probability_T iValue) {
18 // return iValue * 1000;
19 return iValue;
20 }
21}
stdair::Probability_T DictionaryKey_T
static const stdair::Probability_T keyToValue(const DictionaryKey_T)
static const DictionaryKey_T valueToKey(const stdair::Probability_T)