1.00.0
C++ Simulated Travel Demand Generation Library
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Friends
Pages
DictionaryManager.cpp
Go to the documentation of this file.
1
// //////////////////////////////////////////////////////////////////////
2
// Import section
3
// //////////////////////////////////////////////////////////////////////
4
// TRADEMGEN
5
#include <
trademgen/basic/DictionaryManager.hpp
>
6
7
namespace
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
// ////////////////////////////////////////////////////////////////////
16
const
DictionaryKey_T
DictionaryManager::
17
valueToKey
(
const
stdair::Probability_T iValue) {
18
// return iValue * 1000;
19
return
iValue;
20
}
21
}
Generated on Sun Dec 23 2012 17:58:29 for TraDemGen by
1.8.1.1