Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::math_opt::ElementalDifference::ElementDifference Struct Reference

The difference for an ElementType. More...

#include <elemental_differencer.h>

Public Member Functions

bool Empty () const
 Indicates there are no differences for this ElementType.

Public Attributes

SymmetricDifference< int64_t > ids
 Element ids in one elemental but not in the other.
absl::flat_hash_set< int64_t > different_names
 Element ids in both elementals where the element names disagree.
bool next_id_different = false
 The value of next_id for this ElementType differs.

Detailed Description

The difference for an ElementType.

Definition at line 70 of file elemental_differencer.h.

Member Function Documentation

◆ Empty()

bool operations_research::math_opt::ElementalDifference::ElementDifference::Empty ( ) const

Indicates there are no differences for this ElementType.

Definition at line 48 of file elemental_differencer.cc.

Member Data Documentation

◆ different_names

absl::flat_hash_set<int64_t> operations_research::math_opt::ElementalDifference::ElementDifference::different_names

Element ids in both elementals where the element names disagree.

Definition at line 75 of file elemental_differencer.h.

◆ ids

SymmetricDifference<int64_t> operations_research::math_opt::ElementalDifference::ElementDifference::ids

Element ids in one elemental but not in the other.

Definition at line 72 of file elemental_differencer.h.

◆ next_id_different

bool operations_research::math_opt::ElementalDifference::ElementDifference::next_id_different = false

The value of next_id for this ElementType differs.

Definition at line 78 of file elemental_differencer.h.


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