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

Classes

class  IntVectorEnumerator
 

Public Member Functions

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

Static Public Member Functions

static IntVector Repeat (int value, int count)
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Protected Attributes

bool swigCMemOwn
 

Properties

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

Detailed Description

Definition at line 20 of file IntVector.cs.

Constructor & Destructor Documentation

◆ IntVector() [1/5]

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

Definition at line 68 of file IntVector.cs.

◆ IntVector() [2/5]

Google.OrTools.ConstraintSolver.IntVector.IntVector ( global.System.Collections.Generic.IEnumerable< int > c)
inline

Definition at line 76 of file IntVector.cs.

◆ IntVector() [3/5]

Google.OrTools.ConstraintSolver.IntVector.IntVector ( )
inline

Definition at line 246 of file IntVector.cs.

◆ IntVector() [4/5]

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

Definition at line 249 of file IntVector.cs.

◆ IntVector() [5/5]

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

Definition at line 280 of file IntVector.cs.

Member Function Documentation

◆ Add()

void Google.OrTools.ConstraintSolver.IntVector.Add ( int x)
inline

Definition at line 257 of file IntVector.cs.

◆ AddRange()

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

Definition at line 301 of file IntVector.cs.

◆ Clear()

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

Definition at line 253 of file IntVector.cs.

◆ Contains()

bool Google.OrTools.ConstraintSolver.IntVector.Contains ( int value)
inline

Definition at line 354 of file IntVector.cs.

◆ CopyTo() [1/3]

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

Definition at line 144 of file IntVector.cs.

◆ CopyTo() [2/3]

void Google.OrTools.ConstraintSolver.IntVector.CopyTo ( int[] array)
inline

Definition at line 134 of file IntVector.cs.

◆ CopyTo() [3/3]

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

Definition at line 139 of file IntVector.cs.

◆ Dispose() [1/2]

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

Definition at line 51 of file IntVector.cs.

◆ Dispose() [2/2]

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

Definition at line 56 of file IntVector.cs.

◆ GetEnumerator()

IntVectorEnumerator Google.OrTools.ConstraintSolver.IntVector.GetEnumerator ( )
inline

Definition at line 176 of file IntVector.cs.

◆ GetRange()

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

Definition at line 306 of file IntVector.cs.

◆ IndexOf()

int Google.OrTools.ConstraintSolver.IntVector.IndexOf ( int value)
inline

Definition at line 359 of file IntVector.cs.

◆ Insert()

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

Definition at line 313 of file IntVector.cs.

◆ InsertRange()

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

Definition at line 318 of file IntVector.cs.

◆ LastIndexOf()

int Google.OrTools.ConstraintSolver.IntVector.LastIndexOf ( int value)
inline

Definition at line 364 of file IntVector.cs.

◆ Remove()

bool Google.OrTools.ConstraintSolver.IntVector.Remove ( int value)
inline

Definition at line 369 of file IntVector.cs.

◆ RemoveAt()

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

Definition at line 323 of file IntVector.cs.

◆ RemoveRange()

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

Definition at line 328 of file IntVector.cs.

◆ Repeat()

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

Definition at line 333 of file IntVector.cs.

◆ Reverse() [1/2]

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

Definition at line 340 of file IntVector.cs.

◆ Reverse() [2/2]

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

Definition at line 344 of file IntVector.cs.

◆ SetRange()

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

Definition at line 349 of file IntVector.cs.

◆ ToArray()

int[] Google.OrTools.ConstraintSolver.IntVector.ToArray ( )
inline

Definition at line 162 of file IntVector.cs.

Member Data Documentation

◆ swigCMemOwn

bool Google.OrTools.ConstraintSolver.IntVector.swigCMemOwn
protected

Definition at line 23 of file IntVector.cs.

Property Documentation

◆ Capacity

int Google.OrTools.ConstraintSolver.IntVector.Capacity
getset

Definition at line 105 of file IntVector.cs.

◆ Count

int Google.OrTools.ConstraintSolver.IntVector.Count
get

Definition at line 122 of file IntVector.cs.

◆ IsEmpty

bool Google.OrTools.ConstraintSolver.IntVector.IsEmpty
get

Definition at line 116 of file IntVector.cs.

◆ IsFixedSize

bool Google.OrTools.ConstraintSolver.IntVector.IsFixedSize
get

Definition at line 84 of file IntVector.cs.

◆ IsReadOnly

bool Google.OrTools.ConstraintSolver.IntVector.IsReadOnly
get

Definition at line 90 of file IntVector.cs.

◆ IsSynchronized

bool Google.OrTools.ConstraintSolver.IntVector.IsSynchronized
get

Definition at line 128 of file IntVector.cs.

◆ this[int index]

int Google.OrTools.ConstraintSolver.IntVector.this[int index]
getset

Definition at line 96 of file IntVector.cs.


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