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

Classes

class  DoubleVectorEnumerator
 

Public Member Functions

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

Static Public Member Functions

static DoubleVector Repeat (double value, int count)
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Protected Attributes

bool swigCMemOwn
 

Properties

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

Detailed Description

Definition at line 15 of file DoubleVector.cs.

Constructor & Destructor Documentation

◆ DoubleVector() [1/5]

Google.OrTools.ModelBuilder.DoubleVector.DoubleVector ( global.System.Collections.IEnumerable c)
inline

Definition at line 63 of file DoubleVector.cs.

◆ DoubleVector() [2/5]

Google.OrTools.ModelBuilder.DoubleVector.DoubleVector ( global.System.Collections.Generic.IEnumerable< double > c)
inline

Definition at line 71 of file DoubleVector.cs.

◆ DoubleVector() [3/5]

Google.OrTools.ModelBuilder.DoubleVector.DoubleVector ( )
inline

Definition at line 241 of file DoubleVector.cs.

◆ DoubleVector() [4/5]

Google.OrTools.ModelBuilder.DoubleVector.DoubleVector ( DoubleVector other)
inline

Definition at line 244 of file DoubleVector.cs.

◆ DoubleVector() [5/5]

Google.OrTools.ModelBuilder.DoubleVector.DoubleVector ( int capacity)
inline

Definition at line 275 of file DoubleVector.cs.

Member Function Documentation

◆ Add()

void Google.OrTools.ModelBuilder.DoubleVector.Add ( double x)
inline

Definition at line 252 of file DoubleVector.cs.

◆ AddRange()

void Google.OrTools.ModelBuilder.DoubleVector.AddRange ( DoubleVector values)
inline

Definition at line 296 of file DoubleVector.cs.

◆ Clear()

void Google.OrTools.ModelBuilder.DoubleVector.Clear ( )
inline

Definition at line 248 of file DoubleVector.cs.

◆ Contains()

bool Google.OrTools.ModelBuilder.DoubleVector.Contains ( double value)
inline

Definition at line 349 of file DoubleVector.cs.

◆ CopyTo() [1/3]

void Google.OrTools.ModelBuilder.DoubleVector.CopyTo ( double[] array)
inline

Definition at line 129 of file DoubleVector.cs.

◆ CopyTo() [2/3]

void Google.OrTools.ModelBuilder.DoubleVector.CopyTo ( double[] array,
int arrayIndex )
inline

Definition at line 134 of file DoubleVector.cs.

◆ CopyTo() [3/3]

void Google.OrTools.ModelBuilder.DoubleVector.CopyTo ( int index,
double[] array,
int arrayIndex,
int count )
inline

Definition at line 139 of file DoubleVector.cs.

◆ Dispose() [1/2]

void Google.OrTools.ModelBuilder.DoubleVector.Dispose ( )
inline

Definition at line 46 of file DoubleVector.cs.

◆ Dispose() [2/2]

virtual void Google.OrTools.ModelBuilder.DoubleVector.Dispose ( bool disposing)
inlineprotectedvirtual

Definition at line 51 of file DoubleVector.cs.

◆ GetEnumerator()

DoubleVectorEnumerator Google.OrTools.ModelBuilder.DoubleVector.GetEnumerator ( )
inline

Definition at line 171 of file DoubleVector.cs.

◆ GetRange()

DoubleVector Google.OrTools.ModelBuilder.DoubleVector.GetRange ( int index,
int count )
inline

Definition at line 301 of file DoubleVector.cs.

◆ IndexOf()

int Google.OrTools.ModelBuilder.DoubleVector.IndexOf ( double value)
inline

Definition at line 354 of file DoubleVector.cs.

◆ Insert()

void Google.OrTools.ModelBuilder.DoubleVector.Insert ( int index,
double x )
inline

Definition at line 308 of file DoubleVector.cs.

◆ InsertRange()

void Google.OrTools.ModelBuilder.DoubleVector.InsertRange ( int index,
DoubleVector values )
inline

Definition at line 313 of file DoubleVector.cs.

◆ LastIndexOf()

int Google.OrTools.ModelBuilder.DoubleVector.LastIndexOf ( double value)
inline

Definition at line 359 of file DoubleVector.cs.

◆ Remove()

bool Google.OrTools.ModelBuilder.DoubleVector.Remove ( double value)
inline

Definition at line 364 of file DoubleVector.cs.

◆ RemoveAt()

void Google.OrTools.ModelBuilder.DoubleVector.RemoveAt ( int index)
inline

Definition at line 318 of file DoubleVector.cs.

◆ RemoveRange()

void Google.OrTools.ModelBuilder.DoubleVector.RemoveRange ( int index,
int count )
inline

Definition at line 323 of file DoubleVector.cs.

◆ Repeat()

static DoubleVector Google.OrTools.ModelBuilder.DoubleVector.Repeat ( double value,
int count )
inlinestatic

Definition at line 328 of file DoubleVector.cs.

◆ Reverse() [1/2]

void Google.OrTools.ModelBuilder.DoubleVector.Reverse ( )
inline

Definition at line 335 of file DoubleVector.cs.

◆ Reverse() [2/2]

void Google.OrTools.ModelBuilder.DoubleVector.Reverse ( int index,
int count )
inline

Definition at line 339 of file DoubleVector.cs.

◆ SetRange()

void Google.OrTools.ModelBuilder.DoubleVector.SetRange ( int index,
DoubleVector values )
inline

Definition at line 344 of file DoubleVector.cs.

◆ ToArray()

double[] Google.OrTools.ModelBuilder.DoubleVector.ToArray ( )
inline

Definition at line 157 of file DoubleVector.cs.

Member Data Documentation

◆ swigCMemOwn

bool Google.OrTools.ModelBuilder.DoubleVector.swigCMemOwn
protected

Definition at line 18 of file DoubleVector.cs.

Property Documentation

◆ Capacity

int Google.OrTools.ModelBuilder.DoubleVector.Capacity
getset

Definition at line 100 of file DoubleVector.cs.

◆ Count

int Google.OrTools.ModelBuilder.DoubleVector.Count
get

Definition at line 117 of file DoubleVector.cs.

◆ IsEmpty

bool Google.OrTools.ModelBuilder.DoubleVector.IsEmpty
get

Definition at line 111 of file DoubleVector.cs.

◆ IsFixedSize

bool Google.OrTools.ModelBuilder.DoubleVector.IsFixedSize
get

Definition at line 79 of file DoubleVector.cs.

◆ IsReadOnly

bool Google.OrTools.ModelBuilder.DoubleVector.IsReadOnly
get

Definition at line 85 of file DoubleVector.cs.

◆ IsSynchronized

bool Google.OrTools.ModelBuilder.DoubleVector.IsSynchronized
get

Definition at line 123 of file DoubleVector.cs.

◆ this[int index]

double Google.OrTools.ModelBuilder.DoubleVector.this[int index]
getset

Definition at line 91 of file DoubleVector.cs.


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