Ignore:
Timestamp:
Nov 9, 2009 6:33:07 PM (10 years ago)
Author:
EdwinStraver
Message:

Changed formatting using AStyle -A4 -p

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/sandbox/Cbc/src/CbcHeuristicDiveLineSearch.hpp

    r1271 r1286  
    1313public:
    1414
    15   // Default Constructor
    16   CbcHeuristicDiveLineSearch ();
     15    // Default Constructor
     16    CbcHeuristicDiveLineSearch ();
    1717
    18   // Constructor with model - assumed before cuts
    19   CbcHeuristicDiveLineSearch (CbcModel & model);
    20  
    21   // Copy constructor
    22   CbcHeuristicDiveLineSearch ( const CbcHeuristicDiveLineSearch &);
    23    
    24   // Destructor
    25   ~CbcHeuristicDiveLineSearch ();
     18    // Constructor with model - assumed before cuts
     19    CbcHeuristicDiveLineSearch (CbcModel & model);
    2620
    27   /// Clone
    28   virtual CbcHeuristicDiveLineSearch * clone() const;
    29  
    30   /// Assignment operator
    31   CbcHeuristicDiveLineSearch & operator=(const CbcHeuristicDiveLineSearch& rhs);
     21    // Copy constructor
     22    CbcHeuristicDiveLineSearch ( const CbcHeuristicDiveLineSearch &);
    3223
    33   /// Create C++ lines to get to current state
    34   virtual void generateCpp( FILE * fp) ;
     24    // Destructor
     25    ~CbcHeuristicDiveLineSearch ();
    3526
    36   /// Selects the next variable to branch on
    37   /** Returns true if all the fractional variables can be trivially
    38       rounded. Returns false, if there is at least one fractional variable
    39       that is not trivially roundable. In this case, the bestColumn
    40       returned will not be trivially roundable.
    41   */
    42   virtual bool selectVariableToBranch(OsiSolverInterface* solver,
    43                                       const double* newSolution,
    44                                       int& bestColumn,
    45                                       int& bestRound);
     27    /// Clone
     28    virtual CbcHeuristicDiveLineSearch * clone() const;
     29
     30    /// Assignment operator
     31    CbcHeuristicDiveLineSearch & operator=(const CbcHeuristicDiveLineSearch& rhs);
     32
     33    /// Create C++ lines to get to current state
     34    virtual void generateCpp( FILE * fp) ;
     35
     36    /// Selects the next variable to branch on
     37    /** Returns true if all the fractional variables can be trivially
     38        rounded. Returns false, if there is at least one fractional variable
     39        that is not trivially roundable. In this case, the bestColumn
     40        returned will not be trivially roundable.
     41    */
     42    virtual bool selectVariableToBranch(OsiSolverInterface* solver,
     43                                        const double* newSolution,
     44                                        int& bestColumn,
     45                                        int& bestRound);
    4646
    4747};
Note: See TracChangeset for help on using the changeset viewer.