$treeview $search $mathjax
TraDemGen Logo  1.00.0
$projectbrief
$projectbrief
$searchbox

DictionaryManager.cpp

Go to the documentation of this file.
00001 // //////////////////////////////////////////////////////////////////////
00002 // Import section
00003 // //////////////////////////////////////////////////////////////////////
00004 // TRADEMGEN
00005 #include <trademgen/basic/DictionaryManager.hpp>
00006 
00007 namespace TRADEMGEN {
00008   // ////////////////////////////////////////////////////////////////////
00009   const stdair::Probability_T DictionaryManager::
00010   keyToValue (const DictionaryKey_T iKey) {
00011     //    return static_cast<stdair::Probability_T>(iKey) / 1000;
00012     return iKey;
00013   }
00014 
00015   // ////////////////////////////////////////////////////////////////////
00016   const DictionaryKey_T DictionaryManager::
00017   valueToKey (const stdair::Probability_T iValue) {
00018     //    return iValue * 1000;
00019     return iValue;
00020   }
00021 }