A `diff' between two CoinWarmStartDual objects. More...
#include <CoinWarmStartDual.hpp>
Public Member Functions | |
virtual CoinWarmStartDiff * | clone () const |
`Virtual constructor' More... | |
virtual CoinWarmStartDualDiff & | operator= (const CoinWarmStartDualDiff &rhs) |
Assignment. More... | |
virtual | ~CoinWarmStartDualDiff () |
Destructor. More... | |
![]() | |
virtual | ~CoinWarmStartDiff () |
Abstract destructor. More... | |
Protected Member Functions | |
CoinWarmStartDualDiff () | |
Default constructor. More... | |
CoinWarmStartDualDiff (const CoinWarmStartDualDiff &rhs) | |
Copy constructor. More... | |
Private Member Functions | |
CoinWarmStartDualDiff (int sze, const unsigned int *const diffNdxs, const double *const diffVals) | |
Standard constructor. More... | |
Private Attributes | |
CoinWarmStartVectorDiff< double > | diff_ |
The difference in the dual vector is simply the difference in a vector. More... | |
Friends | |
CoinWarmStartDiff * | CoinWarmStartDual::generateDiff (const CoinWarmStart *const oldCWS) const |
void | CoinWarmStartDual::applyDiff (const CoinWarmStartDiff *const diff) |
A `diff' between two CoinWarmStartDual objects.
This class exists in order to hide from the world the details of calculating and representing a `diff' between two CoinWarmStartDual objects. For convenience, assignment, cloning, and deletion are visible to the world, and default and copy constructors are made available to derived classes. Knowledge of the rest of this structure, and of generating and applying diffs, is restricted to the friend functions CoinWarmStartDual::generateDiff() and CoinWarmStartDual::applyDiff().
The actual data structure is a pair of vectors, #diffNdxs_ and #diffVals_.
Definition at line 101 of file CoinWarmStartDual.hpp.
|
inlinevirtual |
Destructor.
Definition at line 120 of file CoinWarmStartDual.hpp.
|
inlineprotected |
Default constructor.
This is protected (rather than private) so that derived classes can see it when they make their default constructor protected or private.
Definition at line 130 of file CoinWarmStartDual.hpp.
|
inlineprotected |
Copy constructor.
For convenience when copying objects containing CoinWarmStartDualDiff objects. But consider whether you should be using clone() to retain polymorphism.
This is protected (rather than private) so that derived classes can see it when the make their copy constructor protected or private.
Definition at line 142 of file CoinWarmStartDual.hpp.
|
inlineprivate |
Standard constructor.
Definition at line 153 of file CoinWarmStartDual.hpp.
|
inlinevirtual |
`Virtual constructor'
Implements CoinWarmStartDiff.
Definition at line 105 of file CoinWarmStartDual.hpp.
|
inlinevirtual |
Assignment.
Definition at line 111 of file CoinWarmStartDual.hpp.
|
friend |
|
friend |
|
private |
The difference in the dual vector is simply the difference in a vector.
Definition at line 161 of file CoinWarmStartDual.hpp.