The Original CHomP Software
Static Public Member Functions | List of all members
chomp::homology::HashingGlobal< element > Class Template Reference

A hashing method using globally defined functions that calculate the two required hashing keys. More...

#include <hashsets.h>

Static Public Member Functions

static int_t hashkey1 (const element &x)
 Returns the first hashing key of the element. More...
 
static int_t hashkey2 (const element &x)
 Returns the second hashing key of the element. More...
 

Detailed Description

template<class element>
class chomp::homology::HashingGlobal< element >

A hashing method using globally defined functions that calculate the two required hashing keys.

Definition at line 133 of file hashsets.h.

Member Function Documentation

◆ hashkey1()

template<class element >
static int_t chomp::homology::HashingGlobal< element >::hashkey1 ( const element &  x)
inlinestatic

Returns the first hashing key of the element.

Definition at line 137 of file hashsets.h.

138 {
139 return chomp::homology::hashkey1 (x);
140 }
int_t hashkey1(const hashNumber< Number > &n)
The first hashing key.
Definition: bincube.h:1029

References chomp::homology::hashkey1().

◆ hashkey2()

template<class element >
static int_t chomp::homology::HashingGlobal< element >::hashkey2 ( const element &  x)
inlinestatic

Returns the second hashing key of the element.

Definition at line 143 of file hashsets.h.

144 {
145 return chomp::homology::hashkey2 (x);
146 }
int_t hashkey2(const hashNumber< Number > &n)
The second hashing key.
Definition: bincube.h:1036

References chomp::homology::hashkey2().


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