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

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