Back to index

python-biopython  1.60
Public Member Functions | Public Attributes | Static Public Attributes
Bio.HotRand.HotRandom Class Reference

List of all members.

Public Member Functions

def __init__
def hot_rand

Public Attributes

 hot_cache

Static Public Attributes

tuple hot_random = HotRandom()
list nums = [ '0000', 'abcd', '1234', '5555', '4321', 'aaaa', 'ffff' ]

Detailed Description

Definition at line 50 of file HotRand.py.


Constructor & Destructor Documentation

Definition at line 52 of file HotRand.py.

00052 
00053     def __init__( self ):
00054         self.hot_cache = HotCache( )

Here is the caller graph for this function:


Member Function Documentation

def Bio.HotRand.HotRandom.hot_rand (   self,
  high,
  low = 0 
)

Definition at line 55 of file HotRand.py.

00055 
00056     def hot_rand( self, high, low = 0 ):
00057         span = high - low
00058         val = self.hot_cache.next_num()
00059         val = ( span * val ) >> 16
00060         val = val + low
00061         return val
00062 
00063 
if( __name__ == '__main__' ):

Member Data Documentation

Definition at line 53 of file HotRand.py.

Definition at line 64 of file HotRand.py.

list Bio.HotRand.HotRandom.nums = [ '0000', 'abcd', '1234', '5555', '4321', 'aaaa', 'ffff' ] [static]

Definition at line 67 of file HotRand.py.


The documentation for this class was generated from the following file: