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

Streaming formatter for a constant in a linear/quadratic expression. More...

#include <formatters.h>

Public Member Functions

 ConstantFormatter (const double constant, const bool is_first)
 

Public Attributes

const double constant
 
const bool is_first
 

Detailed Description

Streaming formatter for a constant in a linear/quadratic expression.

Definition at line 65 of file formatters.h.

Constructor & Destructor Documentation

◆ ConstantFormatter()

operations_research::math_opt::ConstantFormatter::ConstantFormatter ( const double constant,
const bool is_first )
inline

Definition at line 66 of file formatters.h.

Member Data Documentation

◆ constant

const double operations_research::math_opt::ConstantFormatter::constant

Definition at line 68 of file formatters.h.

◆ is_first

const bool operations_research::math_opt::ConstantFormatter::is_first

Definition at line 69 of file formatters.h.


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