OR-Tools  8.2
MonoidOperationTree< T >

Detailed Description

template<class T>
class operations_research::MonoidOperationTree< T >

Definition at line 56 of file monoid_operation_tree.h.

Public Member Functions

 MonoidOperationTree (int size)
 
const T & result () const
 
void Reset (int argument_index)
 
void Set (int argument_index, const T &argument)
 
void Clear ()
 
const T & GetOperand (int argument_index) const
 
template<class Diver >
void DiveInTree (Diver *const diver) const
 
std::string DebugString () const
 

Constructor & Destructor Documentation

◆ MonoidOperationTree()

MonoidOperationTree ( int  size)
explicit

Definition at line 163 of file monoid_operation_tree.h.

Member Function Documentation

◆ Clear()

void Clear

Definition at line 171 of file monoid_operation_tree.h.

◆ DebugString()

std::string DebugString

Definition at line 207 of file monoid_operation_tree.h.

◆ DiveInTree()

void DiveInTree ( Diver *const  diver) const
inline

Definition at line 80 of file monoid_operation_tree.h.

◆ GetOperand()

const T & GetOperand ( int  argument_index) const
inline

Definition at line 74 of file monoid_operation_tree.h.

◆ Reset()

void Reset ( int  argument_index)

Definition at line 177 of file monoid_operation_tree.h.

◆ result()

const T & result ( ) const
inline

Definition at line 62 of file monoid_operation_tree.h.

◆ Set()

void Set ( int  argument_index,
const T &  argument 
)

Definition at line 182 of file monoid_operation_tree.h.


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