Ignore:
Timestamp:
Jan 6, 2019 2:43:06 PM (4 months ago)
Author:
unxusr
Message:

formatting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Clp/src/ClpPrimalColumnPivot.cpp

    r1665 r2385  
    1616// Default Constructor
    1717//-------------------------------------------------------------------
    18 ClpPrimalColumnPivot::ClpPrimalColumnPivot () :
    19      model_(NULL),
    20      type_(-1),
    21     looksOptimal_(false)
     18ClpPrimalColumnPivot::ClpPrimalColumnPivot()
     19  : model_(NULL)
     20  , type_(-1)
     21  , looksOptimal_(false)
    2222{
    23 
    2423}
    2524
     
    2726// Copy constructor
    2827//-------------------------------------------------------------------
    29 ClpPrimalColumnPivot::ClpPrimalColumnPivot (const ClpPrimalColumnPivot & source) :
    30      model_(source.model_),
    31      type_(source.type_),
    32     looksOptimal_(source.looksOptimal_)
     28ClpPrimalColumnPivot::ClpPrimalColumnPivot(const ClpPrimalColumnPivot &source)
     29  : model_(source.model_)
     30  , type_(source.type_)
     31  , looksOptimal_(source.looksOptimal_)
    3332{
    34 
    3533}
    3634
     
    3836// Destructor
    3937//-------------------------------------------------------------------
    40 ClpPrimalColumnPivot::~ClpPrimalColumnPivot ()
     38ClpPrimalColumnPivot::~ClpPrimalColumnPivot()
    4139{
    42 
    4340}
    4441
     
    4744//-------------------------------------------------------------------
    4845ClpPrimalColumnPivot &
    49 ClpPrimalColumnPivot::operator=(const ClpPrimalColumnPivot& rhs)
     46ClpPrimalColumnPivot::operator=(const ClpPrimalColumnPivot &rhs)
    5047{
    51      if (this != &rhs) {
    52           type_ = rhs.type_;
    53           model_ = rhs.model_;
    54           looksOptimal_ = rhs.looksOptimal_;
    55      }
    56      return *this;
     48  if (this != &rhs) {
     49    type_ = rhs.type_;
     50    model_ = rhs.model_;
     51    looksOptimal_ = rhs.looksOptimal_;
     52  }
     53  return *this;
    5754}
    58 void
    59 ClpPrimalColumnPivot::saveWeights(ClpSimplex * model, int )
     55void ClpPrimalColumnPivot::saveWeights(ClpSimplex *model, int)
    6056{
    61      model_ = model;
     57  model_ = model;
    6258}
    6359// checks accuracy and may re-initialize (may be empty)
    6460
    65 void
    66 ClpPrimalColumnPivot::updateWeights(CoinIndexedVector *)
     61void ClpPrimalColumnPivot::updateWeights(CoinIndexedVector *)
    6762{
    6863}
    6964
    7065// Gets rid of all arrays
    71 void
    72 ClpPrimalColumnPivot::clearArrays()
     66void ClpPrimalColumnPivot::clearArrays()
    7367{
    7468}
     
    7670   Also number of iterations before recompute
    7771*/
    78 int
    79 ClpPrimalColumnPivot::numberSprintColumns(int & ) const
     72int ClpPrimalColumnPivot::numberSprintColumns(int &) const
    8073{
    81      return 0;
     74  return 0;
    8275}
    8376// Switch off sprint idea
    84 void
    85 ClpPrimalColumnPivot::switchOffSprint()
     77void ClpPrimalColumnPivot::switchOffSprint()
    8678{
    8779}
     80
     81/* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
     82*/
Note: See TracChangeset for help on using the changeset viewer.