00001 // ======================================================================================== 00002 // ApproxMVBB 00003 // Copyright (C) 2014 by Gabriel Nützi <nuetzig (at) imes (d0t) mavt (d0t) ethz (døt) ch> 00004 // 00005 // This Source Code Form is subject to the terms of the Mozilla Public 00006 // License, v. 2.0. If a copy of the MPL was not distributed with this 00007 // file, You can obtain one at http://mozilla.org/MPL/2.0/. 00008 // ======================================================================================== 00009 00010 #ifndef ApproxMVBB_Diameter_Utils_rand_h 00011 #define ApproxMVBB_Diameter_Utils_rand_h 00012 00013 // 00014 // #include <math.h> 00015 // #include <stdlib.h> 00016 // 00017 // namespace ApproxMVBB{ 00018 // namespace Diameter{ 00019 // 00020 // extern long int _GetRandomCalls(); 00021 // extern long int _GetRandomSeed(); 00022 // 00023 // #if defined _WIN32 || defined __CYGWIN__ || defined WIN32 // WIN32 is for legacy CMake 00024 // extern void _SetRandomSeed( unsigned int seed ); 00025 // #else 00026 // extern void _SetRandomSeed( long int seed ); 00027 // #endif 00028 // 00029 // /* return a double number d | 0 <= d < 1 00030 // */ 00031 // extern double _GetRandomDoubleNb( ); 00032 // 00033 // /* return a int number i | min <= i <= max 00034 // */ 00035 // extern int _GetRandomIntNb( int min, int max ); 00036 // 00037 // 00038 // } 00039 // } 00040 00041 00042 #endif 00043