pub fn hash_weigthed_idxmap<Hidx>(&mut self, data: &IndexMap<D, f64, Hidx>) 
                where   Hidx : std::hash::BuildHasher, 
    {
        let mut iter = data.iter();
        while let Some((key, weigth)) = iter.next() {
            trace!(" retrieved key {:?} ", key);  
                // we must convert Kmer64bit to u64 and be able to retrieve the original Kmer64bit
                // we got weight as something convertible to f64
            self.hash_item(*key, *weigth);
        };
    }
/// computes set signature when set is given as an IndexMap with weights corresponding to values.  
/// This ensures that objects are assigned a weight only once, so that we really have a set of objects with weight associated.  
/// The raw method hash_item can be used with the constraint that objects are sent ONCE in the hash method.
computes set signature when set is given as an IndexMap with weights corresponding to values.
This ensures that objects are assigned a weight only once, so that we really have a set of objects with weight associated.
The raw method hash_item can be used with the constraint that objects are sent ONCE in the hash method.
computes set signature when set is given as an IndexMap with weights corresponding to values . This ensures that objects are assigned a weight only once so that we really have a set of objects with weight associated . The raw method hash_item can be used with the constraint that objects are sent ONCE in the hash method .
pub fn hash_weigthed_idxmap<Hidx>(&mut self, data: &IndexMap<D, f64, Hidx>) 
                where   Hidx : std::hash::BuildHasher, 
    {
        let mut iter = data.iter();
        while let Some((key, weigth)) = iter.next() {
            trace!(" retrieved key {:?} ", key);  
                // we must convert Kmer64bit to u64 and be able to retrieve the original Kmer64bit
                // we got weight as something convertible to f64
            self.hash_item(*key, *weigth);
        };
    }
pub fn hash_weigthed_idxmap < Hidx > ( & mut self , data : & IndexMap < D , f64 , Hidx > ) where Hidx : std :: hash :: BuildHasher , { let mut iter = data . iter ( ) ; while let Some ( ( key , weigth ) ) = iter . next ( ) { trace ! ( " " key ) ; // we must convert Kmer64bit to u64 and be able to retrieve the original Kmer64bit // we got weight as something convertible to f64 self . hash_item ( * key , * weigth ) ; } ; }
computes set signature when set is given as an IndexMap with weights corresponding to values.
computes set signature when set is given as an IndexMap with weights corresponding to values .
&mut self
data
&IndexMap<D, f64, Hidx>