Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::bop::NonOrderedSetHasher< IntType > Class Template Reference

Detailed Description

template<typename IntType>
class operations_research::bop::NonOrderedSetHasher< IntType >

Definition at line 220 of file bop_ls.h.

#include <bop_ls.h>

Public Member Functions

 NonOrderedSetHasher (absl::BitGenRef random)
void Initialize (int size)
void IgnoreElement (IntType e)
uint64_t Hash (const std::vector< IntType > &set) const
uint64_t Hash (IntType e) const
bool IsInitialized () const

Constructor & Destructor Documentation

◆ NonOrderedSetHasher()

template<typename IntType>
operations_research::bop::NonOrderedSetHasher< IntType >::NonOrderedSetHasher ( absl::BitGenRef random)
inlineexplicit

Definition at line 222 of file bop_ls.h.

Member Function Documentation

◆ Hash() [1/2]

template<typename IntType>
uint64_t operations_research::bop::NonOrderedSetHasher< IntType >::Hash ( const std::vector< IntType > & set) const
inline

Definition at line 239 of file bop_ls.h.

◆ Hash() [2/2]

template<typename IntType>
uint64_t operations_research::bop::NonOrderedSetHasher< IntType >::Hash ( IntType e) const
inline

Definition at line 247 of file bop_ls.h.

◆ IgnoreElement()

template<typename IntType>
void operations_research::bop::NonOrderedSetHasher< IntType >::IgnoreElement ( IntType e)
inline

Definition at line 234 of file bop_ls.h.

◆ Initialize()

template<typename IntType>
void operations_research::bop::NonOrderedSetHasher< IntType >::Initialize ( int size)
inline

Definition at line 225 of file bop_ls.h.

◆ IsInitialized()

template<typename IntType>
bool operations_research::bop::NonOrderedSetHasher< IntType >::IsInitialized ( ) const
inline

Definition at line 250 of file bop_ls.h.


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