Main Page   Compound List   File List   Compound Members   File Members  

sih_t Struct Reference

string to integer table More...

#include <sih.h>

List of all members.

Public Attributes

double max_occupancy
double growth_ratio
int warn_on_update
int nslots
int nentries
sih_slot_tslots


Detailed Description

string to integer table

Definition at line 43 of file sih.h.


Member Data Documentation

double sih_t::growth_ratio
 

ratio of expansion when above is violated

Definition at line 45 of file sih.h.

Referenced by sih_add(), sih_create(), sih_val_read_from_file(), and sih_val_write_to_file().

double sih_t::max_occupancy
 

max. allowed occupancy rate

Definition at line 44 of file sih.h.

Referenced by sih_add(), sih_create(), sih_val_read_from_file(), and sih_val_write_to_file().

int sih_t::nentries
 

# of actual entries

Definition at line 48 of file sih.h.

Referenced by read_voc(), sih_add(), sih_create(), sih_val_read_from_file(), and sih_val_write_to_file().

int sih_t::nslots
 

# of slots in the hash table

Definition at line 47 of file sih.h.

Referenced by get_vocab_from_vocab_ht(), sih_add(), sih_create(), sih_lookup(), sih_val_read_from_file(), and sih_val_write_to_file().

sih_slot_t* sih_t::slots
 

array of (string,intval) pairs

Definition at line 49 of file sih.h.

Referenced by get_vocab_from_vocab_ht(), sih_add(), sih_create(), sih_lookup(), sih_val_read_from_file(), and sih_val_write_to_file().

int sih_t::warn_on_update
 

print warning if same string is hashed again

Definition at line 46 of file sih.h.

Referenced by sih_add(), sih_create(), sih_val_read_from_file(), and sih_val_write_to_file().


The documentation for this struct was generated from the following file:
Generated on Tue Dec 21 13:54:48 2004 by doxygen1.2.18