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

Detailed Description

Definition at line 67 of file elemental_differencer.h.

#include <elemental_differencer.h>

Classes

struct  ElementDifference
struct  AttributeDifference

Public Member Functions

 ElementalDifference ()=default
const ElementDifferenceelement_difference (const ElementType e) const
ElementDifferencemutable_element_difference (const ElementType e)
template<typename AttrType>
const AttributeDifference< AttrType > & attr_difference (const AttrType a) const
template<typename AttrType>
AttributeDifference< AttrType > & mutable_attr_difference (const AttrType a)
bool Empty () const
bool model_name_different () const
void set_model_name_different (bool value)
bool primary_objective_name_different () const
void set_primary_objective_name_different (bool value)

Static Public Member Functions

static ElementalDifference Create (const Elemental &first, const Elemental &second, const ElementalDifferenceOptions &options={})
static std::string DescribeDifference (const Elemental &first, const Elemental &second, const ElementalDifferenceOptions &options={})
static std::string Describe (const Elemental &first, const Elemental &second, const ElementalDifference &difference)

Constructor & Destructor Documentation

◆ ElementalDifference()

operations_research::math_opt::ElementalDifference::ElementalDifference ( )
explicitdefault

Member Function Documentation

◆ attr_difference()

template<typename AttrType>
const AttributeDifference< AttrType > & operations_research::math_opt::ElementalDifference::attr_difference ( const AttrType a) const
inline

Definition at line 146 of file elemental_differencer.h.

◆ Create()

ElementalDifference operations_research::math_opt::ElementalDifference::Create ( const Elemental & first,
const Elemental & second,
const ElementalDifferenceOptions & options = {} )
static

Definition at line 68 of file elemental_differencer.cc.

◆ Describe()

std::string operations_research::math_opt::ElementalDifference::Describe ( const Elemental & first,
const Elemental & second,
const ElementalDifference & difference )
static

Definition at line 155 of file elemental_differencer.cc.

◆ DescribeDifference()

std::string operations_research::math_opt::ElementalDifference::DescribeDifference ( const Elemental & first,
const Elemental & second,
const ElementalDifferenceOptions & options = {} )
static

Definition at line 247 of file elemental_differencer.cc.

◆ element_difference()

const ElementDifference & operations_research::math_opt::ElementalDifference::element_difference ( const ElementType e) const
inline

Definition at line 136 of file elemental_differencer.h.

◆ Empty()

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

Definition at line 52 of file elemental_differencer.cc.

◆ model_name_different()

bool operations_research::math_opt::ElementalDifference::model_name_different ( ) const
inline

Definition at line 157 of file elemental_differencer.h.

◆ mutable_attr_difference()

template<typename AttrType>
AttributeDifference< AttrType > & operations_research::math_opt::ElementalDifference::mutable_attr_difference ( const AttrType a)
inline

Definition at line 151 of file elemental_differencer.h.

◆ mutable_element_difference()

ElementDifference & operations_research::math_opt::ElementalDifference::mutable_element_difference ( const ElementType e)
inline

Definition at line 141 of file elemental_differencer.h.

◆ primary_objective_name_different()

bool operations_research::math_opt::ElementalDifference::primary_objective_name_different ( ) const
inline

Definition at line 162 of file elemental_differencer.h.

◆ set_model_name_different()

void operations_research::math_opt::ElementalDifference::set_model_name_different ( bool value)
inline

Definition at line 158 of file elemental_differencer.h.

◆ set_primary_objective_name_different()

void operations_research::math_opt::ElementalDifference::set_primary_objective_name_different ( bool value)
inline

Definition at line 165 of file elemental_differencer.h.


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