|
CoinUtils 2.11.12
|
WarmStart information that is only a vector. More...
#include <CoinWarmStartVector.hpp>
Public Member Functions | |
| int | size () const |
| return the size of the vector | |
| const T * | values () const |
| return a pointer to the array of vectors | |
| void | assignVector (int size, T *&vec) |
| Assign the vector to be the warmstart information. | |
| CoinWarmStartVector () | |
| CoinWarmStartVector (int size, const T *vec) | |
| CoinWarmStartVector (const CoinWarmStartVector &rhs) | |
| CoinWarmStartVector & | operator= (const CoinWarmStartVector &rhs) |
| void | swap (CoinWarmStartVector &rhs) |
| void | clear () |
| `Virtual constructor' */ virtual CoinWarmStart *clone() const { return new CoinWarmStartVector(*this); } | |
Vector warm start `diff' methods */ | |
/*! Generate a `diff' that can convert the warm start passed as a parameter to the warm start specified by The capabilities are limited: the basis passed as a parameter can be no larger than the basis pointed to by virtual CoinWarmStartDiff * generateDiff(const CoinWarmStart *const oldCWS) const; /*! Apply Update this warm start by applying | |
| virtual void | applyDiff (const CoinWarmStartDiff *const cwsdDiff) |
| Public Member Functions inherited from CoinWarmStart | |
| virtual | ~CoinWarmStart () |
| Abstract destructor. | |
| virtual CoinWarmStart * | clone () const =0 |
| `Virtual constructor' | |
| virtual CoinWarmStartDiff * | generateDiff (const CoinWarmStart *const) const |
Protected Member Functions | |
| void | gutsOfDestructor () |
| void | gutsOfCopy (const CoinWarmStartVector< T > &rhs) |
Private Attributes | |
Private data members | |
| int | size_ |
| the size of the vector | |
| T * | values_ |
| the vector itself | |
WarmStart information that is only a vector.
Definition at line 25 of file CoinWarmStartVector.hpp.
|
inline |
Definition at line 55 of file CoinWarmStartVector.hpp.
|
inline |
Definition at line 61 of file CoinWarmStartVector.hpp.
|
inline |
Definition at line 68 of file CoinWarmStartVector.hpp.
|
inlineprotected |
Definition at line 27 of file CoinWarmStartVector.hpp.
|
inlineprotected |
Definition at line 31 of file CoinWarmStartVector.hpp.
|
inline |
return the size of the vector
Definition at line 40 of file CoinWarmStartVector.hpp.
|
inline |
return a pointer to the array of vectors
Definition at line 42 of file CoinWarmStartVector.hpp.
|
inline |
Assign the vector to be the warmstart information.
In this method the object assumes ownership of the pointer and upon return #vector will be a NULL pointer. If copying is desirable use the constructor.
Definition at line 47 of file CoinWarmStartVector.hpp.
|
inline |
Definition at line 73 of file CoinWarmStartVector.hpp.
|
inline |
Definition at line 82 of file CoinWarmStartVector.hpp.
|
inline |
`Virtual constructor' */ virtual CoinWarmStart *clone() const { return new CoinWarmStartVector(*this); }
virtual ~CoinWarmStartVector() { gutsOfDestructor(); }
/*! Clear the data
Make it appear as if the warmstart was just created using the default constructor.
Definition at line 106 of file CoinWarmStartVector.hpp.
|
virtual |
Reimplemented from CoinWarmStart.
Definition at line 435 of file CoinWarmStartVector.hpp.
|
private |
the size of the vector
Definition at line 140 of file CoinWarmStartVector.hpp.
|
private |
the vector itself
Definition at line 142 of file CoinWarmStartVector.hpp.