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

Classes

class  MPVariableVectorEnumerator
 

Public Member Functions

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

Static Public Member Functions

static implicit operator MPVariableVector (Variable[] inVal)
 cast from C# MPVariable array
 
static implicit operator Variable[] (MPVariableVector inVal)
 cast to C# MPVariable array
 
static MPVariableVector Repeat (Variable value, int count)
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Protected Attributes

bool swigCMemOwn
 

Properties

bool IsFixedSize [get]
 
bool IsReadOnly [get]
 
Variable 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 15 of file MPVariableVector.cs.

Constructor & Destructor Documentation

◆ MPVariableVector() [1/5]

Google.OrTools.LinearSolver.MPVariableVector.MPVariableVector ( global.System.Collections.IEnumerable c)
inline

Definition at line 63 of file MPVariableVector.cs.

◆ MPVariableVector() [2/5]

Google.OrTools.LinearSolver.MPVariableVector.MPVariableVector ( global.System.Collections.Generic.IEnumerable< Variable > c)
inline

Definition at line 71 of file MPVariableVector.cs.

◆ MPVariableVector() [3/5]

Google.OrTools.LinearSolver.MPVariableVector.MPVariableVector ( )
inline

Definition at line 241 of file MPVariableVector.cs.

◆ MPVariableVector() [4/5]

Google.OrTools.LinearSolver.MPVariableVector.MPVariableVector ( MPVariableVector other)
inline

Definition at line 244 of file MPVariableVector.cs.

◆ MPVariableVector() [5/5]

Google.OrTools.LinearSolver.MPVariableVector.MPVariableVector ( int capacity)
inline

Definition at line 275 of file MPVariableVector.cs.

Member Function Documentation

◆ Add()

void Google.OrTools.LinearSolver.MPVariableVector.Add ( Variable x)
inline

Definition at line 252 of file MPVariableVector.cs.

◆ AddRange()

void Google.OrTools.LinearSolver.MPVariableVector.AddRange ( MPVariableVector values)
inline

Definition at line 298 of file MPVariableVector.cs.

◆ Clear()

void Google.OrTools.LinearSolver.MPVariableVector.Clear ( )
inline

Definition at line 248 of file MPVariableVector.cs.

◆ Contains()

bool Google.OrTools.LinearSolver.MPVariableVector.Contains ( Variable value)
inline

Definition at line 351 of file MPVariableVector.cs.

◆ CopyTo() [1/3]

void Google.OrTools.LinearSolver.MPVariableVector.CopyTo ( int index,
Variable[] array,
int arrayIndex,
int count )
inline

Definition at line 139 of file MPVariableVector.cs.

◆ CopyTo() [2/3]

void Google.OrTools.LinearSolver.MPVariableVector.CopyTo ( Variable[] array)
inline

Definition at line 129 of file MPVariableVector.cs.

◆ CopyTo() [3/3]

void Google.OrTools.LinearSolver.MPVariableVector.CopyTo ( Variable[] array,
int arrayIndex )
inline

Definition at line 134 of file MPVariableVector.cs.

◆ Dispose() [1/2]

void Google.OrTools.LinearSolver.MPVariableVector.Dispose ( )
inline

Definition at line 46 of file MPVariableVector.cs.

◆ Dispose() [2/2]

virtual void Google.OrTools.LinearSolver.MPVariableVector.Dispose ( bool disposing)
inlineprotectedvirtual

Definition at line 51 of file MPVariableVector.cs.

◆ GetEnumerator()

MPVariableVectorEnumerator Google.OrTools.LinearSolver.MPVariableVector.GetEnumerator ( )
inline

Definition at line 171 of file MPVariableVector.cs.

◆ GetRange()

MPVariableVector Google.OrTools.LinearSolver.MPVariableVector.GetRange ( int index,
int count )
inline

Definition at line 303 of file MPVariableVector.cs.

◆ IndexOf()

int Google.OrTools.LinearSolver.MPVariableVector.IndexOf ( Variable value)
inline

Definition at line 356 of file MPVariableVector.cs.

◆ Insert()

void Google.OrTools.LinearSolver.MPVariableVector.Insert ( int index,
Variable x )
inline

Definition at line 310 of file MPVariableVector.cs.

◆ InsertRange()

void Google.OrTools.LinearSolver.MPVariableVector.InsertRange ( int index,
MPVariableVector values )
inline

Definition at line 315 of file MPVariableVector.cs.

◆ LastIndexOf()

int Google.OrTools.LinearSolver.MPVariableVector.LastIndexOf ( Variable value)
inline

Definition at line 361 of file MPVariableVector.cs.

◆ operator MPVariableVector()

static implicit Google.OrTools.LinearSolver.MPVariableVector.operator MPVariableVector ( Variable[] inVal)
inlinestatic

cast from C# MPVariable array

Definition at line 202 of file VariableHelper.cs.

◆ operator Variable[]()

static implicit Google.OrTools.LinearSolver.MPVariableVector.operator Variable[] ( MPVariableVector inVal)
inlinestatic

cast to C# MPVariable array

Definition at line 213 of file VariableHelper.cs.

◆ Remove()

bool Google.OrTools.LinearSolver.MPVariableVector.Remove ( Variable value)
inline

Definition at line 366 of file MPVariableVector.cs.

◆ RemoveAt()

void Google.OrTools.LinearSolver.MPVariableVector.RemoveAt ( int index)
inline

Definition at line 320 of file MPVariableVector.cs.

◆ RemoveRange()

void Google.OrTools.LinearSolver.MPVariableVector.RemoveRange ( int index,
int count )
inline

Definition at line 325 of file MPVariableVector.cs.

◆ Repeat()

static MPVariableVector Google.OrTools.LinearSolver.MPVariableVector.Repeat ( Variable value,
int count )
inlinestatic

Definition at line 330 of file MPVariableVector.cs.

◆ Reverse() [1/2]

void Google.OrTools.LinearSolver.MPVariableVector.Reverse ( )
inline

Definition at line 337 of file MPVariableVector.cs.

◆ Reverse() [2/2]

void Google.OrTools.LinearSolver.MPVariableVector.Reverse ( int index,
int count )
inline

Definition at line 341 of file MPVariableVector.cs.

◆ SetRange()

void Google.OrTools.LinearSolver.MPVariableVector.SetRange ( int index,
MPVariableVector values )
inline

Definition at line 346 of file MPVariableVector.cs.

◆ ToArray()

Variable[] Google.OrTools.LinearSolver.MPVariableVector.ToArray ( )
inline

Definition at line 157 of file MPVariableVector.cs.

Member Data Documentation

◆ swigCMemOwn

bool Google.OrTools.LinearSolver.MPVariableVector.swigCMemOwn
protected

Definition at line 18 of file MPVariableVector.cs.

Property Documentation

◆ Capacity

int Google.OrTools.LinearSolver.MPVariableVector.Capacity
getset

Definition at line 100 of file MPVariableVector.cs.

◆ Count

int Google.OrTools.LinearSolver.MPVariableVector.Count
get

Definition at line 117 of file MPVariableVector.cs.

◆ IsEmpty

bool Google.OrTools.LinearSolver.MPVariableVector.IsEmpty
get

Definition at line 111 of file MPVariableVector.cs.

◆ IsFixedSize

bool Google.OrTools.LinearSolver.MPVariableVector.IsFixedSize
get

Definition at line 79 of file MPVariableVector.cs.

◆ IsReadOnly

bool Google.OrTools.LinearSolver.MPVariableVector.IsReadOnly
get

Definition at line 85 of file MPVariableVector.cs.

◆ IsSynchronized

bool Google.OrTools.LinearSolver.MPVariableVector.IsSynchronized
get

Definition at line 123 of file MPVariableVector.cs.

◆ this[int index]

Variable Google.OrTools.LinearSolver.MPVariableVector.this[int index]
getset

Definition at line 91 of file MPVariableVector.cs.


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