Module RDRandom

[hide private]
[frames] | no frames]

# Source Code for Module RDRandom

     1  # $Id$
     2  #
     3  #  Copyright (C) 2003-2006  Greg Landrum and Rational Discovery LLC
     4  #
     5  #   @@ All Rights Reserved @@
     6  #  This file is part of the RDKit.
     7  #  The contents are covered by the terms of the BSD license
     8  #  which is included in the file license.txt, found at the root
     9  #  of the RDKit source tree.
    10  #
    11  """ making random numbers consistent so we get good regressions
    12
    13  """
    14
    15  import sys
    16
    17  import random as _random
    18  random = _random.random
    19  randrange = _random.randrange
    20  seed = _random.seed
    21