OR-Tools  8.2
NonOrderedSetHasher< IntType >

Detailed Description

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

Definition at line 202 of file bop_ls.h.

Public Member Functions

 NonOrderedSetHasher ()
 
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()

NonOrderedSetHasher ( )
inline

Definition at line 204 of file bop_ls.h.

Member Function Documentation

◆ Hash() [1/2]

uint64_t Hash ( const std::vector< IntType > &  set) const
inline

Definition at line 221 of file bop_ls.h.

◆ Hash() [2/2]

uint64_t Hash ( IntType  e) const
inline

Definition at line 229 of file bop_ls.h.

◆ IgnoreElement()

void IgnoreElement ( IntType  e)
inline

Definition at line 216 of file bop_ls.h.

◆ Initialize()

void Initialize ( int  size)
inline

Definition at line 207 of file bop_ls.h.

◆ IsInitialized()

bool IsInitialized ( ) const
inline

Definition at line 232 of file bop_ls.h.


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