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

    r1271 r1286  
    1212public:
    1313
    14   // Default Constructor
    15   CbcHeuristicRandRound ();
     14    // Default Constructor
     15    CbcHeuristicRandRound ();
    1616
    17   /* Constructor with model - assumed before cuts
    18      Initial version does not do Lps
    19   */
    20   CbcHeuristicRandRound (CbcModel & model);
    21  
    22   // Copy constructor
    23   CbcHeuristicRandRound ( const CbcHeuristicRandRound &);
    24    
    25   // Destructor
    26   ~CbcHeuristicRandRound ();
    27  
    28   /// Clone
    29   virtual CbcHeuristic * clone() const;
     17    /* Constructor with model - assumed before cuts
     18       Initial version does not do Lps
     19    */
     20    CbcHeuristicRandRound (CbcModel & model);
    3021
    31   /// Assignment operator
    32   CbcHeuristicRandRound & operator=(const CbcHeuristicRandRound& rhs);
     22    // Copy constructor
     23    CbcHeuristicRandRound ( const CbcHeuristicRandRound &);
    3324
    34   /// Create C++ lines to get to current state
    35   virtual void generateCpp( FILE * fp) ;
     25    // Destructor
     26    ~CbcHeuristicRandRound ();
    3627
    37   /// Resets stuff if model changes
    38   virtual void resetModel(CbcModel * model);
     28    /// Clone
     29    virtual CbcHeuristic * clone() const;
    3930
    40   /// update model (This is needed if cliques update matrix etc)
    41   virtual void setModel(CbcModel * model);
    42  
    43   using CbcHeuristic::solution ;
    44   /** returns 0 if no solution, 1 if valid solution.
    45       Sets solution values if good, sets objective value (only if good)
    46       needs comments
    47   */
    48   virtual int solution(double & objectiveValue,
    49                        double * newSolution);
     31    /// Assignment operator
     32    CbcHeuristicRandRound & operator=(const CbcHeuristicRandRound& rhs);
     33
     34    /// Create C++ lines to get to current state
     35    virtual void generateCpp( FILE * fp) ;
     36
     37    /// Resets stuff if model changes
     38    virtual void resetModel(CbcModel * model);
     39
     40    /// update model (This is needed if cliques update matrix etc)
     41    virtual void setModel(CbcModel * model);
     42
     43    using CbcHeuristic::solution ;
     44    /** returns 0 if no solution, 1 if valid solution.
     45        Sets solution values if good, sets objective value (only if good)
     46        needs comments
     47    */
     48    virtual int solution(double & objectiveValue,
     49                         double * newSolution);
    5050
    5151protected:
Note: See TracChangeset for help on using the changeset viewer.