From: <qua...@us...> - 2010-08-02 09:13:02
|
Revision: 253 http://stdair.svn.sourceforge.net/stdair/?rev=253&view=rev Author: quannaus Date: 2010-08-02 09:12:56 +0000 (Mon, 02 Aug 2010) Log Message: ----------- [Dev] Added DEFAUTL_RANDOM_SEED. Modified Paths: -------------- trunk/stdair/stdair/basic/BasConst.cpp trunk/stdair/stdair/basic/BasConst_General.hpp Modified: trunk/stdair/stdair/basic/BasConst.cpp =================================================================== --- trunk/stdair/stdair/basic/BasConst.cpp 2010-08-01 20:56:52 UTC (rev 252) +++ trunk/stdair/stdair/basic/BasConst.cpp 2010-08-02 09:12:56 UTC (rev 253) @@ -64,7 +64,10 @@ /** Number of milliseconds in one second */ const Count_T MILLISECONDS_IN_ONE_SECOND = 1000; + /** Default random seed. */ + const RandomSeed_T DEFAULT_RANDOM_SEED = 120765987; + // //////// Fare Rules /////// /** Default saturdayStay value (false). */ const SaturdayStay_T DEFAULT_SATURDAY_STAY = false; Modified: trunk/stdair/stdair/basic/BasConst_General.hpp =================================================================== --- trunk/stdair/stdair/basic/BasConst_General.hpp 2010-08-01 20:56:52 UTC (rev 252) +++ trunk/stdair/stdair/basic/BasConst_General.hpp 2010-08-02 09:12:56 UTC (rev 253) @@ -50,5 +50,8 @@ /** Default epsilon duration. */ extern const Duration_T DEFAULT_EPSILON_DURATION; + + /** Default random seed. */ + extern const RandomSeed_T DEFAULT_RANDOM_SEED; } #endif // __STDAIR_BAS_BASCONST_GENERAL_HPP This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |