Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
Google.OrTools.Util.Domain Class Reference
Inheritance diagram for Google.OrTools.Util.Domain:

Public Member Functions

void Dispose ()
 
 Domain ()
 
 Domain (long value)
 
 Domain (long left, long right)
 
long[] FlattenedIntervals ()
 
bool IsEmpty ()
 
long Size ()
 
long Min ()
 
long Max ()
 
bool Contains (long value)
 
Domain Complement ()
 
Domain Negation ()
 
Domain IntersectionWith (Domain domain)
 
Domain UnionWith (Domain domain)
 
Domain AdditionWith (Domain domain)
 
override string ToString ()
 

Static Public Member Functions

static Domain AllValues ()
 
static Domain FromValues (long[] values)
 
static Domain FromIntervals (long[][] intervals)
 
static Domain FromFlatIntervals (long[] flat_intervals)
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Protected Attributes

bool swigCMemOwn
 

Detailed Description

Definition at line 19 of file Domain.cs.

Constructor & Destructor Documentation

◆ Domain() [1/3]

Google.OrTools.Util.Domain.Domain ( )
inline

Definition at line 66 of file Domain.cs.

◆ Domain() [2/3]

Google.OrTools.Util.Domain.Domain ( long value)
inline

Definition at line 69 of file Domain.cs.

◆ Domain() [3/3]

Google.OrTools.Util.Domain.Domain ( long left,
long right )
inline

Definition at line 72 of file Domain.cs.

Member Function Documentation

◆ AdditionWith()

Domain Google.OrTools.Util.Domain.AdditionWith ( Domain domain)
inline

Definition at line 158 of file Domain.cs.

◆ AllValues()

static Domain Google.OrTools.Util.Domain.AllValues ( )
inlinestatic

Definition at line 75 of file Domain.cs.

◆ Complement()

Domain Google.OrTools.Util.Domain.Complement ( )
inline

Definition at line 136 of file Domain.cs.

◆ Contains()

bool Google.OrTools.Util.Domain.Contains ( long value)
inline

Definition at line 131 of file Domain.cs.

◆ Dispose() [1/2]

void Google.OrTools.Util.Domain.Dispose ( )
inline

Definition at line 49 of file Domain.cs.

◆ Dispose() [2/2]

virtual void Google.OrTools.Util.Domain.Dispose ( bool disposing)
inlineprotectedvirtual

Definition at line 54 of file Domain.cs.

◆ FlattenedIntervals()

long[] Google.OrTools.Util.Domain.FlattenedIntervals ( )
inline

Definition at line 99 of file Domain.cs.

◆ FromFlatIntervals()

static Domain Google.OrTools.Util.Domain.FromFlatIntervals ( long[] flat_intervals)
inlinestatic

Definition at line 94 of file Domain.cs.

◆ FromIntervals()

static Domain Google.OrTools.Util.Domain.FromIntervals ( long intervals[][])
inlinestatic

Definition at line 85 of file Domain.cs.

◆ FromValues()

static Domain Google.OrTools.Util.Domain.FromValues ( long[] values)
inlinestatic

Definition at line 80 of file Domain.cs.

◆ IntersectionWith()

Domain Google.OrTools.Util.Domain.IntersectionWith ( Domain domain)
inline

Definition at line 146 of file Domain.cs.

◆ IsEmpty()

bool Google.OrTools.Util.Domain.IsEmpty ( )
inline

Definition at line 111 of file Domain.cs.

◆ Max()

long Google.OrTools.Util.Domain.Max ( )
inline

Definition at line 126 of file Domain.cs.

◆ Min()

long Google.OrTools.Util.Domain.Min ( )
inline

Definition at line 121 of file Domain.cs.

◆ Negation()

Domain Google.OrTools.Util.Domain.Negation ( )
inline

Definition at line 141 of file Domain.cs.

◆ Size()

long Google.OrTools.Util.Domain.Size ( )
inline

Definition at line 116 of file Domain.cs.

◆ ToString()

override string Google.OrTools.Util.Domain.ToString ( )
inline

Definition at line 164 of file Domain.cs.

◆ UnionWith()

Domain Google.OrTools.Util.Domain.UnionWith ( Domain domain)
inline

Definition at line 152 of file Domain.cs.

Member Data Documentation

◆ swigCMemOwn

bool Google.OrTools.Util.Domain.swigCMemOwn
protected

Definition at line 21 of file Domain.cs.


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