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

Detailed Description

Definition at line 619 of file variable_and_expressions.h.

#include <variable_and_expressions.h>

Inheritance diagram for operations_research::math_opt::QuadraticTermKey:
operations_research::math_opt::ModelStorageItem

Public Types

using IdType = QuadraticProductId

Public Member Functions

 QuadraticTermKey (ModelStorageCPtr storage, QuadraticProductId id)
 QuadraticTermKey (Variable first_variable, Variable second_variable)
QuadraticProductId typed_id () const
Variable first () const
Variable second () const
Public Member Functions inherited from operations_research::math_opt::ModelStorageItem
ModelStorageCPtr storage () const

Friends

template<typename H>
AbslHashValue (H h, const QuadraticTermKey &key)

Additional Inherited Members

Protected Member Functions inherited from operations_research::math_opt::ModelStorageItem
 ModelStorageItem (ModelStorageCPtr storage)
 ModelStorageItem (const ModelStorageItem &)=default
ModelStorageItemoperator= (const ModelStorageItem &)=default
 ModelStorageItem (ModelStorageItem &&)=default
ModelStorageItemoperator= (ModelStorageItem &&)=default
 ~ModelStorageItem ()=default

Member Typedef Documentation

◆ IdType

Constructor & Destructor Documentation

◆ QuadraticTermKey() [1/2]

operations_research::math_opt::QuadraticTermKey::QuadraticTermKey ( ModelStorageCPtr storage,
QuadraticProductId id )
inline

Definition at line 1998 of file variable_and_expressions.h.

◆ QuadraticTermKey() [2/2]

operations_research::math_opt::QuadraticTermKey::QuadraticTermKey ( Variable first_variable,
Variable second_variable )
inline

Definition at line 2008 of file variable_and_expressions.h.

Member Function Documentation

◆ first()

Variable operations_research::math_opt::QuadraticTermKey::first ( ) const
inline

Definition at line 636 of file variable_and_expressions.h.

◆ second()

Variable operations_research::math_opt::QuadraticTermKey::second ( ) const
inline

Definition at line 639 of file variable_and_expressions.h.

◆ typed_id()

QuadraticProductId operations_research::math_opt::QuadraticTermKey::typed_id ( ) const
inline

Definition at line 2016 of file variable_and_expressions.h.

◆ AbslHashValue

template<typename H>
H AbslHashValue ( H h,
const QuadraticTermKey & key )
friend

Definition at line 2019 of file variable_and_expressions.h.


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