Mission Base

Program Base Library Functions

double pblSetSetLoadFactor

( PblSet* set, double loadFactor )

Sets an application specific load factor for a hash set.

Documentation

Sets an application specific load factor for a hash set. For tree sets this function does nothing.

The load factor has to be between 0.1 and 0.9, the default load factor used ins 0.75.

This method has a time complexity of O(1).

Parameters:
set - The set to set hash value function for
loadFactor - The load factor to set
Returns:
double factor: The load factor used before.

Alphabetic index



This page was generated with the help of DOC++.