Revision 2c7a1608709e510c64b47c9c7c2c53451fa0d445 authored by abarun on 11 April 2010, 21:42:19 UTC, committed by abarun on 11 April 2010, 21:42:19 UTC
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/josiah@3114 1f5c12ca-751b-0410-a591-d2e778427230
1 parent 8fa4e58
Raw File
QuenchingSchedule.cpp
#include "QuenchingSchedule.h"

namespace Josiah {
  
    ExponentialQuenchingSchedule::ExponentialQuenchingSchedule(float start_temp, float stop_temp, float ratio) : QuenchingSchedule(start_temp, stop_temp, ratio) {}
    float ExponentialQuenchingSchedule::GetTemperatureAtTime(int time) const {
      return GetStartTemp() * pow(GetRatio(), time); 
    }
}
back to top