Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
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()

Definition at line 58 of file parser_util.h.

◆ FloatValue()

Definition at line 65 of file parser_util.h.

◆ Undefined()

◆ Value()

Definition at line 52 of file parser_util.h.

◆ VarRef()

Definition at line 46 of file parser_util.h.

Member Data Documentation

◆ defined

Definition at line 77 of file parser_util.h.

◆ domain

◆ domain_is_fixed

◆ float_value

Definition at line 75 of file parser_util.h.

◆ is_domain

Definition at line 79 of file parser_util.h.

◆ is_float

Definition at line 78 of file parser_util.h.

◆ value

Definition at line 74 of file parser_util.h.

◆ variable


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