Ignore:
Timestamp:
Jan 3, 2019 2:03:23 PM (19 months ago)
Author:
unxusr
Message:

.clang-format with proposal for formatting code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cbc/src/CbcCutSubsetModifier.hpp

    r1899 r2464  
    2929*/
    3030
    31 class CbcCutSubsetModifier  : public CbcCutModifier {
     31class CbcCutSubsetModifier : public CbcCutModifier {
    3232public:
    33     /// Default Constructor
    34     CbcCutSubsetModifier ();
     33  /// Default Constructor
     34  CbcCutSubsetModifier();
    3535
    36     /// Useful Constructor
    37     CbcCutSubsetModifier (int firstOdd);
     36  /// Useful Constructor
     37  CbcCutSubsetModifier(int firstOdd);
    3838
    39     // Copy constructor
    40     CbcCutSubsetModifier ( const CbcCutSubsetModifier &);
     39  // Copy constructor
     40  CbcCutSubsetModifier(const CbcCutSubsetModifier &);
    4141
    42     /// Destructor
    43     virtual ~CbcCutSubsetModifier();
     42  /// Destructor
     43  virtual ~CbcCutSubsetModifier();
    4444
    45     /// Assignment
    46     CbcCutSubsetModifier & operator=(const CbcCutSubsetModifier& rhs);
    47 /// Clone
    48     virtual CbcCutModifier * clone() const ;
     45  /// Assignment
     46  CbcCutSubsetModifier &operator=(const CbcCutSubsetModifier &rhs);
     47  /// Clone
     48  virtual CbcCutModifier *clone() const;
    4949
    50     /** Returns
     50  /** Returns
    5151        0 unchanged
    5252        1 strengthened
     
    5454        3 deleted
    5555    */
    56     virtual int modify(const OsiSolverInterface * solver, OsiRowCut & cut) ;
    57     /// Create C++ lines to get to current state
    58     virtual void generateCpp( FILE * ) {}
     56  virtual int modify(const OsiSolverInterface *solver, OsiRowCut &cut);
     57  /// Create C++ lines to get to current state
     58  virtual void generateCpp(FILE *) {}
     59
    5960protected:
    60     /// data
    61     /// First odd variable
    62     int firstOdd_;
     61  /// data
     62  /// First odd variable
     63  int firstOdd_;
    6364};
    6465
    6566#endif //CbcCutSubsetModifier_H
    66 
Note: See TracChangeset for help on using the changeset viewer.