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/CbcHeuristicDiveFractional.hpp

    r1899 r2464  
    1414class CbcHeuristicDiveFractional : public CbcHeuristicDive {
    1515public:
     16  // Default Constructor
     17  CbcHeuristicDiveFractional();
    1618
    17     // Default Constructor
    18     CbcHeuristicDiveFractional ();
     19  // Constructor with model - assumed before cuts
     20  CbcHeuristicDiveFractional(CbcModel &model);
    1921
    20     // Constructor with model - assumed before cuts
    21     CbcHeuristicDiveFractional (CbcModel & model);
     22  // Copy constructor
     23  CbcHeuristicDiveFractional(const CbcHeuristicDiveFractional &);
    2224
    23     // Copy constructor
    24     CbcHeuristicDiveFractional ( const CbcHeuristicDiveFractional &);
     25  // Destructor
     26  ~CbcHeuristicDiveFractional();
    2527
    26     // Destructor
    27     ~CbcHeuristicDiveFractional ();
     28  /// Clone
     29  virtual CbcHeuristicDiveFractional *clone() const;
    2830
    29     /// Clone
    30     virtual CbcHeuristicDiveFractional * clone() const;
     31  /// Assignment operator
     32  CbcHeuristicDiveFractional &operator=(const CbcHeuristicDiveFractional &rhs);
    3133
    32     /// Assignment operator
    33     CbcHeuristicDiveFractional & operator=(const CbcHeuristicDiveFractional& 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.