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

Classes

class  IntVarVectorEnumerator
 

Public Member Functions

void Dispose ()
 
 IntVarVector (global::System.Collections.IEnumerable c)
 
 IntVarVector (global::System.Collections.Generic.IEnumerable< IntVar > c)
 
void CopyTo (IntVar[] array)
 
void CopyTo (IntVar[] array, int arrayIndex)
 
void CopyTo (int index, IntVar[] array, int arrayIndex, int count)
 
IntVar[] ToArray ()
 
IntVarVectorEnumerator GetEnumerator ()
 
 IntVarVector ()
 
 IntVarVector (IntVarVector other)
 
void Clear ()
 
void Add (IntVar x)
 
 IntVarVector (int capacity)
 
void AddRange (IntVarVector values)
 
IntVarVector GetRange (int index, int count)
 
void Insert (int index, IntVar x)
 
void InsertRange (int index, IntVarVector values)
 
void RemoveAt (int index)
 
void RemoveRange (int index, int count)
 
void Reverse ()
 
void Reverse (int index, int count)
 
void SetRange (int index, IntVarVector values)
 
bool Contains (IntVar value)
 
int IndexOf (IntVar value)
 
int LastIndexOf (IntVar value)
 
bool Remove (IntVar value)
 

Static Public Member Functions

static implicit operator IntVarVector (IntVar[] inVal)
 cast from C# IntVar array
 
static implicit operator IntVar[] (IntVarVector inVal)
 cast to C# IntVar array
 
static IntVarVector Repeat (IntVar value, int count)
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Protected Attributes

bool swigCMemOwn
 

Properties

bool IsFixedSize [get]
 
bool IsReadOnly [get]
 
IntVar this[int index] [get, set]
 
int Capacity [get, set]
 
bool IsEmpty [get]
 
int Count [get]
 
bool IsSynchronized [get]
 

Detailed Description

Todo
(user): Try to move this code back to the .i with @define macros.

Definition at line 20 of file IntVarVector.cs.

Constructor & Destructor Documentation

◆ IntVarVector() [1/5]

Google.OrTools.ConstraintSolver.IntVarVector.IntVarVector ( global.System.Collections.IEnumerable c)
inline

Definition at line 68 of file IntVarVector.cs.

◆ IntVarVector() [2/5]

Google.OrTools.ConstraintSolver.IntVarVector.IntVarVector ( global.System.Collections.Generic.IEnumerable< IntVar > c)
inline

Definition at line 76 of file IntVarVector.cs.

◆ IntVarVector() [3/5]

Google.OrTools.ConstraintSolver.IntVarVector.IntVarVector ( )
inline

Definition at line 246 of file IntVarVector.cs.

◆ IntVarVector() [4/5]

Google.OrTools.ConstraintSolver.IntVarVector.IntVarVector ( IntVarVector other)
inline

Definition at line 249 of file IntVarVector.cs.

◆ IntVarVector() [5/5]

Google.OrTools.ConstraintSolver.IntVarVector.IntVarVector ( int capacity)
inline

Definition at line 280 of file IntVarVector.cs.

Member Function Documentation

◆ Add()

void Google.OrTools.ConstraintSolver.IntVarVector.Add ( IntVar x)
inline

Definition at line 257 of file IntVarVector.cs.

◆ AddRange()

void Google.OrTools.ConstraintSolver.IntVarVector.AddRange ( IntVarVector values)
inline

Definition at line 303 of file IntVarVector.cs.

◆ Clear()

void Google.OrTools.ConstraintSolver.IntVarVector.Clear ( )
inline

Definition at line 253 of file IntVarVector.cs.

◆ Contains()

bool Google.OrTools.ConstraintSolver.IntVarVector.Contains ( IntVar value)
inline

Definition at line 356 of file IntVarVector.cs.

◆ CopyTo() [1/3]

void Google.OrTools.ConstraintSolver.IntVarVector.CopyTo ( int index,
IntVar[] array,
int arrayIndex,
int count )
inline

Definition at line 144 of file IntVarVector.cs.

◆ CopyTo() [2/3]

void Google.OrTools.ConstraintSolver.IntVarVector.CopyTo ( IntVar[] array)
inline

Definition at line 134 of file IntVarVector.cs.

◆ CopyTo() [3/3]

void Google.OrTools.ConstraintSolver.IntVarVector.CopyTo ( IntVar[] array,
int arrayIndex )
inline

Definition at line 139 of file IntVarVector.cs.

◆ Dispose() [1/2]

void Google.OrTools.ConstraintSolver.IntVarVector.Dispose ( )
inline

Definition at line 51 of file IntVarVector.cs.

◆ Dispose() [2/2]

virtual void Google.OrTools.ConstraintSolver.IntVarVector.Dispose ( bool disposing)
inlineprotectedvirtual

Definition at line 56 of file IntVarVector.cs.

◆ GetEnumerator()

IntVarVectorEnumerator Google.OrTools.ConstraintSolver.IntVarVector.GetEnumerator ( )
inline

Definition at line 176 of file IntVarVector.cs.

◆ GetRange()

IntVarVector Google.OrTools.ConstraintSolver.IntVarVector.GetRange ( int index,
int count )
inline

Definition at line 308 of file IntVarVector.cs.

◆ IndexOf()

int Google.OrTools.ConstraintSolver.IntVarVector.IndexOf ( IntVar value)
inline

Definition at line 361 of file IntVarVector.cs.

◆ Insert()

void Google.OrTools.ConstraintSolver.IntVarVector.Insert ( int index,
IntVar x )
inline

Definition at line 315 of file IntVarVector.cs.

◆ InsertRange()

void Google.OrTools.ConstraintSolver.IntVarVector.InsertRange ( int index,
IntVarVector values )
inline

Definition at line 320 of file IntVarVector.cs.

◆ LastIndexOf()

int Google.OrTools.ConstraintSolver.IntVarVector.LastIndexOf ( IntVar value)
inline

Definition at line 366 of file IntVarVector.cs.

◆ operator IntVar[]()

static implicit Google.OrTools.ConstraintSolver.IntVarVector.operator IntVar[] ( IntVarVector inVal)
inlinestatic

cast to C# IntVar array

Definition at line 197 of file IntVarArrayHelper.cs.

◆ operator IntVarVector()

static implicit Google.OrTools.ConstraintSolver.IntVarVector.operator IntVarVector ( IntVar[] inVal)
inlinestatic

cast from C# IntVar array

Definition at line 186 of file IntVarArrayHelper.cs.

◆ Remove()

bool Google.OrTools.ConstraintSolver.IntVarVector.Remove ( IntVar value)
inline

Definition at line 371 of file IntVarVector.cs.

◆ RemoveAt()

void Google.OrTools.ConstraintSolver.IntVarVector.RemoveAt ( int index)
inline

Definition at line 325 of file IntVarVector.cs.

◆ RemoveRange()

void Google.OrTools.ConstraintSolver.IntVarVector.RemoveRange ( int index,
int count )
inline

Definition at line 330 of file IntVarVector.cs.

◆ Repeat()

static IntVarVector Google.OrTools.ConstraintSolver.IntVarVector.Repeat ( IntVar value,
int count )
inlinestatic

Definition at line 335 of file IntVarVector.cs.

◆ Reverse() [1/2]

void Google.OrTools.ConstraintSolver.IntVarVector.Reverse ( )
inline

Definition at line 342 of file IntVarVector.cs.

◆ Reverse() [2/2]

void Google.OrTools.ConstraintSolver.IntVarVector.Reverse ( int index,
int count )
inline

Definition at line 346 of file IntVarVector.cs.

◆ SetRange()

void Google.OrTools.ConstraintSolver.IntVarVector.SetRange ( int index,
IntVarVector values )
inline

Definition at line 351 of file IntVarVector.cs.

◆ ToArray()

IntVar[] Google.OrTools.ConstraintSolver.IntVarVector.ToArray ( )
inline

Definition at line 162 of file IntVarVector.cs.

Member Data Documentation

◆ swigCMemOwn

bool Google.OrTools.ConstraintSolver.IntVarVector.swigCMemOwn
protected

Definition at line 23 of file IntVarVector.cs.

Property Documentation

◆ Capacity

int Google.OrTools.ConstraintSolver.IntVarVector.Capacity
getset

Definition at line 105 of file IntVarVector.cs.

◆ Count

int Google.OrTools.ConstraintSolver.IntVarVector.Count
get

Definition at line 122 of file IntVarVector.cs.

◆ IsEmpty

bool Google.OrTools.ConstraintSolver.IntVarVector.IsEmpty
get

Definition at line 116 of file IntVarVector.cs.

◆ IsFixedSize

bool Google.OrTools.ConstraintSolver.IntVarVector.IsFixedSize
get

Definition at line 84 of file IntVarVector.cs.

◆ IsReadOnly

bool Google.OrTools.ConstraintSolver.IntVarVector.IsReadOnly
get

Definition at line 90 of file IntVarVector.cs.

◆ IsSynchronized

bool Google.OrTools.ConstraintSolver.IntVarVector.IsSynchronized
get

Definition at line 128 of file IntVarVector.cs.

◆ this[int index]

IntVar Google.OrTools.ConstraintSolver.IntVarVector.this[int index]
getset

Definition at line 96 of file IntVarVector.cs.


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