CoinWarmStartVectorDiff
A diff between two CoinWarmStartVector objects.
A diff between two CoinWarmStartVector objects.
Inheritance
Inherits from: CoinWarmStartDiff
Description
This class exists in order to hide from the world the details of calculating and representing a diff between two CoinWarmStartVector 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 CoinWarmStartVector::generateDiff() and CoinWarmStartVector::applyDiff(). The actual data structure is a pair of vectors, diffNdxs_ and diffVals_.
Public Methods
clone
Virtual constructor
CoinWarmStartDiff * clone()
operator=
Assignment.
CoinWarmStartVectorDiff & operator=(const CoinWarmStartVectorDiff< T > & rhs)
Parameters:
rhs(const CoinWarmStartVectorDiff< T > &)
~CoinWarmStartVectorDiff
Destructor.
~CoinWarmStartVectorDiff()
swap
void swap(CoinWarmStartVectorDiff & rhs)
Parameters:
rhs(CoinWarmStartVectorDiff &)
CoinWarmStartVectorDiff
Default constructor.
CoinWarmStartVectorDiff()
CoinWarmStartVectorDiff
Copy constructor.
CoinWarmStartVectorDiff(const CoinWarmStartVectorDiff< T > & rhs)
Parameters:
rhs(const CoinWarmStartVectorDiff< T > &)
CoinWarmStartVectorDiff
Standard constructor.
CoinWarmStartVectorDiff(int sze, const unsigned int *const diffNdxs, const T *const diffVals)
Parameters:
sze(int)diffNdxs(const unsigned int *const)diffVals(const T *const)
clear
Clear the data.
void clear()
Source
Header: layer-0/CoinUtils/src/CoinWarmStartVector.hpp