Google OR-Tools v9.9
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
Google.OrTools.Util Namespace Reference

Classes

class  Domain
 
class  Int128
 The low 64 bits are stored in "low", and the high 64-bits (including the sign) are stored in "high". More...
 
class  Int128Reflection
 Holder for reflection information generated from ortools/util/int128.proto. More...
 
class  Int64Vector
 
class  Int64VectorVector
 
class  operations_research_util
 
class  operations_research_utilPINVOKE
 
class  OptionalBooleanReflection
 Holder for reflection information generated from ortools/util/optional_boolean.proto. More...
 

Enumerations

enum  OptionalBoolean { BoolUnspecified = 0 , BoolFalse = 2 , BoolTrue = 3 }
 A "three-way" boolean: unspecified, false or true. More...
 

Detailed Description

<auto-generated />

This file was automatically generated by SWIG (https://www.swig.org). Version 4.2.0

Do not make changes to this file unless you know what you are doing - modify the SWIG interface file instead.

Enumeration Type Documentation

◆ OptionalBoolean

A "three-way" boolean: unspecified, false or true.

We don't use the value of 1 to increase the chance to catch bugs: eg. in python, a user may set a proto field of this type enum to a boolean value without type checks, if they set it to True, the proto validity code will catch it (because it'll be cast to 1, which is an invalid enum value).

Note
if the user sets if to False (i.e. 0), it will be caught by the routing library's parameter validity check too.
Enumerator
BoolUnspecified 
BoolFalse 
BoolTrue 

Definition at line 51 of file OptionalBoolean.pb.cs.