Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::math_opt::AttrDiff< n, Symmetry > Class Template Reference

Detailed Description

template<int n, typename Symmetry>
class operations_research::math_opt::AttrDiff< n, Symmetry >

Definition at line 28 of file attr_diff.h.

#include <attr_diff.h>

Public Types

using Key = AttrKey<n, Symmetry>

Public Member Functions

 AttrDiff ()=default
void Advance ()
void SetModified (const Key key)
const AttrKeyHashSet< Key > & modified_keys () const
bool has_modified_keys () const
void Erase (const Key key)

Member Typedef Documentation

◆ Key

template<int n, typename Symmetry>
using operations_research::math_opt::AttrDiff< n, Symmetry >::Key = AttrKey<n, Symmetry>

Definition at line 30 of file attr_diff.h.

Constructor & Destructor Documentation

◆ AttrDiff()

template<int n, typename Symmetry>
operations_research::math_opt::AttrDiff< n, Symmetry >::AttrDiff ( )
default

Member Function Documentation

◆ Advance()

template<int n, typename Symmetry>
void operations_research::math_opt::AttrDiff< n, Symmetry >::Advance ( )
inline

Definition at line 36 of file attr_diff.h.

◆ Erase()

template<int n, typename Symmetry>
void operations_research::math_opt::AttrDiff< n, Symmetry >::Erase ( const Key key)
inline

Definition at line 50 of file attr_diff.h.

◆ has_modified_keys()

template<int n, typename Symmetry>
bool operations_research::math_opt::AttrDiff< n, Symmetry >::has_modified_keys ( ) const
inline

Definition at line 46 of file attr_diff.h.

◆ modified_keys()

template<int n, typename Symmetry>
const AttrKeyHashSet< Key > & operations_research::math_opt::AttrDiff< n, Symmetry >::modified_keys ( ) const
inline

Definition at line 44 of file attr_diff.h.

◆ SetModified()

template<int n, typename Symmetry>
void operations_research::math_opt::AttrDiff< n, Symmetry >::SetModified ( const Key key)
inline

Definition at line 39 of file attr_diff.h.


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