コード例 #1
0
 def __new__(cls, k, starting_size, n_tables):
     primes = get_n_primes_above_x(n_tables, starting_size)
     hb = CountingHash(k, primes)
     c = _LabelHash.__new__(cls, hb)
     c.graph = hb
     return c
コード例 #2
0
 def __new__(cls, k, starting_size, n_tables):
     hb = Hashbits(k, starting_size, n_tables)
     c = _LabelHash.__new__(cls, hb)
     c.graph = hb
     return c
コード例 #3
0
ファイル: __init__.py プロジェクト: josiahseaman/khmer
 def __new__(cls, k, starting_size, n_tables):
     primes = get_n_primes_above_x(n_tables, starting_size)
     c = _LabelHash.__new__(cls, k, primes)
     c.primes = primes
     return c
コード例 #4
0
ファイル: __init__.py プロジェクト: astronomer1374/khmer
 def __new__(cls, k, starting_size, n_tables):
     primes = get_n_primes_above_x(n_tables, starting_size)
     c = _LabelHash.__new__(cls, k, primes)
     c.primes = primes
     return c
コード例 #5
0
ファイル: __init__.py プロジェクト: eltauri/khmer
 def __new__(cls, k, starting_size, n_tables):
     primes = get_n_primes_near_x(n_tables, starting_size)
     hb = _CountingHash(k, primes)
     c = _LabelHash.__new__(cls, hb)
     c.graph = hb
     return c
コード例 #6
0
ファイル: __init__.py プロジェクト: eltauri/khmer
 def __new__(cls, k, starting_size, n_tables):
     hb = Hashbits(k, starting_size, n_tables)
     c = _LabelHash.__new__(cls, hb)
     c.graph = hb
     return c