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

formatting

File:
1 edited

Legend:

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

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