Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::fz::VarRefOrValue Struct Reference

Detailed Description

Definition at line 44 of file parser_util.h.

#include <parser_util.h>

Static Public Member Functions

static VarRefOrValue Undefined ()
static VarRefOrValue VarRef (Variable *var)
static VarRefOrValue Value (int64_t value)
static VarRefOrValue DomainValue (Domain domain)
static VarRefOrValue FloatValue (double value)

Public Attributes

Variablevariable = nullptr
int64_t value = 0
double float_value = 0.0
Domain domain
bool defined = false
bool is_float = false
bool is_domain = false
bool domain_is_fixed = false

Member Function Documentation

◆ DomainValue()

VarRefOrValue operations_research::fz::VarRefOrValue::DomainValue ( Domain domain)
inlinestatic

Definition at line 58 of file parser_util.h.

◆ FloatValue()

VarRefOrValue operations_research::fz::VarRefOrValue::FloatValue ( double value)
inlinestatic

Definition at line 65 of file parser_util.h.

◆ Undefined()

VarRefOrValue operations_research::fz::VarRefOrValue::Undefined ( )
inlinestatic

Definition at line 45 of file parser_util.h.

◆ Value()

VarRefOrValue operations_research::fz::VarRefOrValue::Value ( int64_t value)
inlinestatic

Definition at line 52 of file parser_util.h.

◆ VarRef()

VarRefOrValue operations_research::fz::VarRefOrValue::VarRef ( Variable * var)
inlinestatic

Definition at line 46 of file parser_util.h.

Member Data Documentation

◆ defined

bool operations_research::fz::VarRefOrValue::defined = false

Definition at line 77 of file parser_util.h.

◆ domain

Domain operations_research::fz::VarRefOrValue::domain

Definition at line 76 of file parser_util.h.

◆ domain_is_fixed

bool operations_research::fz::VarRefOrValue::domain_is_fixed = false

Definition at line 81 of file parser_util.h.

◆ float_value

double operations_research::fz::VarRefOrValue::float_value = 0.0

Definition at line 75 of file parser_util.h.

◆ is_domain

bool operations_research::fz::VarRefOrValue::is_domain = false

Definition at line 79 of file parser_util.h.

◆ is_float

bool operations_research::fz::VarRefOrValue::is_float = false

Definition at line 78 of file parser_util.h.

◆ value

int64_t operations_research::fz::VarRefOrValue::value = 0

Definition at line 74 of file parser_util.h.

◆ variable

Variable* operations_research::fz::VarRefOrValue::variable = nullptr

Definition at line 73 of file parser_util.h.


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