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

.clang-format with proposal for formatting code

File:
1 edited

Legend:

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

    r1899 r2464  
    1414class CbcHeuristicDiveLineSearch : public CbcHeuristicDive {
    1515public:
     16  // Default Constructor
     17  CbcHeuristicDiveLineSearch();
    1618
    17     // Default Constructor
    18     CbcHeuristicDiveLineSearch ();
     19  // Constructor with model - assumed before cuts
     20  CbcHeuristicDiveLineSearch(CbcModel &model);
    1921
    20     // Constructor with model - assumed before cuts
    21     CbcHeuristicDiveLineSearch (CbcModel & model);
     22  // Copy constructor
     23  CbcHeuristicDiveLineSearch(const CbcHeuristicDiveLineSearch &);
    2224
    23     // Copy constructor
    24     CbcHeuristicDiveLineSearch ( const CbcHeuristicDiveLineSearch &);
     25  // Destructor
     26  ~CbcHeuristicDiveLineSearch();
    2527
    26     // Destructor
    27     ~CbcHeuristicDiveLineSearch ();
     28  /// Clone
     29  virtual CbcHeuristicDiveLineSearch *clone() const;
    2830
    29     /// Clone
    30     virtual CbcHeuristicDiveLineSearch * clone() const;
     31  /// Assignment operator
     32  CbcHeuristicDiveLineSearch &operator=(const CbcHeuristicDiveLineSearch &rhs);
    3133
    32     /// Assignment operator
    33     CbcHeuristicDiveLineSearch & operator=(const CbcHeuristicDiveLineSearch& rhs);
     34  /// Create C++ lines to get to current state
     35  virtual void generateCpp(FILE *fp);
    3436
    35     /// Create C++ lines to get to current state
    36     virtual void generateCpp( FILE * fp) ;
    37 
    38     /// Selects the next variable to branch on
    39     /** Returns true if all the fractional variables can be trivially
     37  /// Selects the next variable to branch on
     38  /** Returns true if all the fractional variables can be trivially
    4039        rounded. Returns false, if there is at least one fractional variable
    4140        that is not trivially roundable. In this case, the bestColumn
    4241        returned will not be trivially roundable.
    4342    */
    44     virtual bool selectVariableToBranch(OsiSolverInterface* solver,
    45                                         const double* newSolution,
    46                                         int& bestColumn,
    47                                         int& bestRound);
    48 
     43  virtual bool selectVariableToBranch(OsiSolverInterface *solver,
     44    const double *newSolution,
     45    int &bestColumn,
     46    int &bestRound);
    4947};
    5048
    5149#endif
    52 
Note: See TracChangeset for help on using the changeset viewer.