Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::math_opt::ElementalDifference::AttributeDifference< AttrType > Struct Template Reference

Detailed Description

template<typename AttrType>
struct operations_research::math_opt::ElementalDifference::AttributeDifference< AttrType >

Definition at line 87 of file elemental_differencer.h.

#include <elemental_differencer.h>

Public Types

using Key = AttrKeyFor<AttrType>

Public Member Functions

std::vector< KeyAllKeysSorted () const
bool Empty () const

Public Attributes

SymmetricDifference< Keykeys
absl::flat_hash_set< Keydifferent_values

Member Typedef Documentation

◆ Key

template<typename AttrType>
using operations_research::math_opt::ElementalDifference::AttributeDifference< AttrType >::Key = AttrKeyFor<AttrType>

Definition at line 88 of file elemental_differencer.h.

Member Function Documentation

◆ AllKeysSorted()

template<typename AttrType>
std::vector< typename ElementalDifference::AttributeDifference< AttrType >::Key > operations_research::math_opt::ElementalDifference::AttributeDifference< AttrType >::AllKeysSorted ( ) const

Definition at line 213 of file elemental_differencer.h.

◆ Empty()

template<typename AttrType>
bool operations_research::math_opt::ElementalDifference::AttributeDifference< AttrType >::Empty ( ) const

Definition at line 229 of file elemental_differencer.h.

Member Data Documentation

◆ different_values

template<typename AttrType>
absl::flat_hash_set<Key> operations_research::math_opt::ElementalDifference::AttributeDifference< AttrType >::different_values

Definition at line 96 of file elemental_differencer.h.

◆ keys

Definition at line 92 of file elemental_differencer.h.


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