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:

~CoinWarmStartVectorDiff

Destructor.

 ~CoinWarmStartVectorDiff()

swap

void swap(CoinWarmStartVectorDiff & rhs)

Parameters:

CoinWarmStartVectorDiff

Default constructor.

 CoinWarmStartVectorDiff()

CoinWarmStartVectorDiff

Copy constructor.

 CoinWarmStartVectorDiff(const CoinWarmStartVectorDiff< T > & rhs)

Parameters:

CoinWarmStartVectorDiff

Standard constructor.

 CoinWarmStartVectorDiff(int sze, const unsigned int *const diffNdxs, const T *const diffVals)

Parameters:

clear

Clear the data.

void clear()

Source

Header: layer-0/CoinUtils/src/CoinWarmStartVector.hpp