Location: LEMON/LEMON-main/lemon/random.cc - annotation
Load file history
Port random.h & Co. from svn -r3422 + some cleanups
- gauss(double std_dev) has been remove for clarity
r10:99e499ca560b r10:99e499ca560b r10:99e499ca560b r10:99e499ca560b r10:99e499ca560b r10:99e499ca560b r10:99e499ca560b r10:99e499ca560b r10:99e499ca560b r10:99e499ca560b r10:99e499ca560b r10:99e499ca560b r10:99e499ca560b r10:99e499ca560b r10:99e499ca560b r10:99e499ca560b r10:99e499ca560b r10:99e499ca560b r10:99e499ca560b r10:99e499ca560b r10:99e499ca560b r10:99e499ca560b r10:99e499ca560b r10:99e499ca560b r10:99e499ca560b r10:99e499ca560b r10:99e499ca560b r10:99e499ca560b r10:99e499ca560b | /* -*- C++ -*-
*
* This file is a part of LEMON, a generic C++ optimization library
*
* Copyright (C) 2003-2007
* Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
* (Egervary Research Group on Combinatorial Optimization, EGRES).
*
* Permission to use, modify and distribute this software is granted
* provided that this copyright notice appears in all copies. For
* precise terms see the accompanying LICENSE file.
*
* This software is provided "AS IS" with no warranty of any kind,
* express or implied, and with no claim as to its suitability for any
* purpose.
*
*/
///\file
///\brief Instantiation of the Random class.
#include <lemon/random.h>
namespace lemon {
/// \brief Global random number generator instance
///
/// A global mersenne twister random number generator instance
Random rnd;
}
|