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

Classes

class  MPConstraintVectorEnumerator
 

Public Member Functions

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

Static Public Member Functions

static implicit operator MPConstraintVector (Constraint[] inVal)
 cast from C# MPConstraint array
 
static implicit operator Constraint[] (MPConstraintVector inVal)
 cast to C# MPConstraint array
 
static MPConstraintVector Repeat (Constraint value, int count)
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Protected Attributes

bool swigCMemOwn
 

Properties

bool IsFixedSize [get]
 
bool IsReadOnly [get]
 
Constraint 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 MPConstraintVector.cs.

Constructor & Destructor Documentation

◆ MPConstraintVector() [1/5]

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

Definition at line 63 of file MPConstraintVector.cs.

◆ MPConstraintVector() [2/5]

Google.OrTools.LinearSolver.MPConstraintVector.MPConstraintVector ( global.System.Collections.Generic.IEnumerable< Constraint > c)
inline

Definition at line 71 of file MPConstraintVector.cs.

◆ MPConstraintVector() [3/5]

Google.OrTools.LinearSolver.MPConstraintVector.MPConstraintVector ( )
inline

Definition at line 241 of file MPConstraintVector.cs.

◆ MPConstraintVector() [4/5]

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

Definition at line 244 of file MPConstraintVector.cs.

◆ MPConstraintVector() [5/5]

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

Definition at line 275 of file MPConstraintVector.cs.

Member Function Documentation

◆ Add()

void Google.OrTools.LinearSolver.MPConstraintVector.Add ( Constraint x)
inline

Definition at line 252 of file MPConstraintVector.cs.

◆ AddRange()

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

Definition at line 298 of file MPConstraintVector.cs.

◆ Clear()

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

Definition at line 248 of file MPConstraintVector.cs.

◆ Contains()

bool Google.OrTools.LinearSolver.MPConstraintVector.Contains ( Constraint value)
inline

Definition at line 351 of file MPConstraintVector.cs.

◆ CopyTo() [1/3]

void Google.OrTools.LinearSolver.MPConstraintVector.CopyTo ( Constraint[] array)
inline

Definition at line 129 of file MPConstraintVector.cs.

◆ CopyTo() [2/3]

void Google.OrTools.LinearSolver.MPConstraintVector.CopyTo ( Constraint[] array,
int arrayIndex )
inline

Definition at line 134 of file MPConstraintVector.cs.

◆ CopyTo() [3/3]

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

Definition at line 139 of file MPConstraintVector.cs.

◆ Dispose() [1/2]

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

Definition at line 46 of file MPConstraintVector.cs.

◆ Dispose() [2/2]

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

Definition at line 51 of file MPConstraintVector.cs.

◆ GetEnumerator()

MPConstraintVectorEnumerator Google.OrTools.LinearSolver.MPConstraintVector.GetEnumerator ( )
inline

Definition at line 171 of file MPConstraintVector.cs.

◆ GetRange()

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

Definition at line 303 of file MPConstraintVector.cs.

◆ IndexOf()

int Google.OrTools.LinearSolver.MPConstraintVector.IndexOf ( Constraint value)
inline

Definition at line 356 of file MPConstraintVector.cs.

◆ Insert()

void Google.OrTools.LinearSolver.MPConstraintVector.Insert ( int index,
Constraint x )
inline

Definition at line 310 of file MPConstraintVector.cs.

◆ InsertRange()

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

Definition at line 315 of file MPConstraintVector.cs.

◆ LastIndexOf()

int Google.OrTools.LinearSolver.MPConstraintVector.LastIndexOf ( Constraint value)
inline

Definition at line 361 of file MPConstraintVector.cs.

◆ operator Constraint[]()

static implicit Google.OrTools.LinearSolver.MPConstraintVector.operator Constraint[] ( MPConstraintVector inVal)
inlinestatic

cast to C# MPConstraint array

Definition at line 161 of file LinearConstraint.cs.

◆ operator MPConstraintVector()

static implicit Google.OrTools.LinearSolver.MPConstraintVector.operator MPConstraintVector ( Constraint[] inVal)
inlinestatic

cast from C# MPConstraint array

Definition at line 150 of file LinearConstraint.cs.

◆ Remove()

bool Google.OrTools.LinearSolver.MPConstraintVector.Remove ( Constraint value)
inline

Definition at line 366 of file MPConstraintVector.cs.

◆ RemoveAt()

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

Definition at line 320 of file MPConstraintVector.cs.

◆ RemoveRange()

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

Definition at line 325 of file MPConstraintVector.cs.

◆ Repeat()

static MPConstraintVector Google.OrTools.LinearSolver.MPConstraintVector.Repeat ( Constraint value,
int count )
inlinestatic

Definition at line 330 of file MPConstraintVector.cs.

◆ Reverse() [1/2]

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

Definition at line 337 of file MPConstraintVector.cs.

◆ Reverse() [2/2]

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

Definition at line 341 of file MPConstraintVector.cs.

◆ SetRange()

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

Definition at line 346 of file MPConstraintVector.cs.

◆ ToArray()

Constraint[] Google.OrTools.LinearSolver.MPConstraintVector.ToArray ( )
inline

Definition at line 157 of file MPConstraintVector.cs.

Member Data Documentation

◆ swigCMemOwn

bool Google.OrTools.LinearSolver.MPConstraintVector.swigCMemOwn
protected

Definition at line 18 of file MPConstraintVector.cs.

Property Documentation

◆ Capacity

int Google.OrTools.LinearSolver.MPConstraintVector.Capacity
getset

Definition at line 100 of file MPConstraintVector.cs.

◆ Count

int Google.OrTools.LinearSolver.MPConstraintVector.Count
get

Definition at line 117 of file MPConstraintVector.cs.

◆ IsEmpty

bool Google.OrTools.LinearSolver.MPConstraintVector.IsEmpty
get

Definition at line 111 of file MPConstraintVector.cs.

◆ IsFixedSize

bool Google.OrTools.LinearSolver.MPConstraintVector.IsFixedSize
get

Definition at line 79 of file MPConstraintVector.cs.

◆ IsReadOnly

bool Google.OrTools.LinearSolver.MPConstraintVector.IsReadOnly
get

Definition at line 85 of file MPConstraintVector.cs.

◆ IsSynchronized

bool Google.OrTools.LinearSolver.MPConstraintVector.IsSynchronized
get

Definition at line 123 of file MPConstraintVector.cs.

◆ this[int index]

Constraint Google.OrTools.LinearSolver.MPConstraintVector.this[int index]
getset

Definition at line 91 of file MPConstraintVector.cs.


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