Ignore:
Timestamp:
Jan 6, 2019 2:43:06 PM (4 months ago)
Author:
unxusr
Message:

formatting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Clp/src/MyMessageHandler.hpp

    r1665 r2385  
    2323class ClpSimplex;
    2424
    25 
    26 typedef std::vector<double> StdVectorDouble;
     25typedef std::vector< double > StdVectorDouble;
    2726
    2827class MyMessageHandler : public CoinMessageHandler {
    2928
    3029public:
    31      /**@name Overrides */
    32      //@{
    33      virtual int print();
    34      //@}
    35      /**@name set and get */
    36      //@{
    37      /// Model
    38      const ClpSimplex * model() const;
    39      void setModel(ClpSimplex * model);
    40      /// Get queue of feasible extreme points
    41      const std::deque<StdVectorDouble> & getFeasibleExtremePoints() const;
    42      /// Empty queue of feasible extreme points
    43      void clearFeasibleExtremePoints();
    44      //@}
     30  /**@name Overrides */
     31  //@{
     32  virtual int print();
     33  //@}
     34  /**@name set and get */
     35  //@{
     36  /// Model
     37  const ClpSimplex *model() const;
     38  void setModel(ClpSimplex *model);
     39  /// Get queue of feasible extreme points
     40  const std::deque< StdVectorDouble > &getFeasibleExtremePoints() const;
     41  /// Empty queue of feasible extreme points
     42  void clearFeasibleExtremePoints();
     43  //@}
    4544
    46      /**@name Constructors, destructor */
    47      //@{
    48      /** Default constructor. */
    49      MyMessageHandler();
    50      /// Constructor with pointer to model
    51      MyMessageHandler(ClpSimplex * model,
    52                       FILE * userPointer = NULL);
    53      /** Destructor */
    54      virtual ~MyMessageHandler();
    55      //@}
     45  /**@name Constructors, destructor */
     46  //@{
     47  /** Default constructor. */
     48  MyMessageHandler();
     49  /// Constructor with pointer to model
     50  MyMessageHandler(ClpSimplex *model,
     51    FILE *userPointer = NULL);
     52  /** Destructor */
     53  virtual ~MyMessageHandler();
     54  //@}
    5655
    57      /**@name Copy method */
    58      //@{
    59      /** The copy constructor. */
    60      MyMessageHandler(const MyMessageHandler&);
    61      /** The copy constructor from an CoinSimplexMessageHandler. */
    62      MyMessageHandler(const CoinMessageHandler&);
     56  /**@name Copy method */
     57  //@{
     58  /** The copy constructor. */
     59  MyMessageHandler(const MyMessageHandler &);
     60  /** The copy constructor from an CoinSimplexMessageHandler. */
     61  MyMessageHandler(const CoinMessageHandler &);
    6362
    64      MyMessageHandler& operator=(const MyMessageHandler&);
    65      /// Clone
    66      virtual CoinMessageHandler * clone() const ;
    67      //@}
    68 
     63  MyMessageHandler &operator=(const MyMessageHandler &);
     64  /// Clone
     65  virtual CoinMessageHandler *clone() const;
     66  //@}
    6967
    7068protected:
    71      /**@name Data members
     69  /**@name Data members
    7270        The data members are protected to allow access for derived classes. */
    73      //@{
    74      /// Pointer back to model
    75      ClpSimplex * model_;
    76      /// Saved extreme points
    77      std::deque<StdVectorDouble> feasibleExtremePoints_;
    78      /// Iteration number so won't do same one twice
    79      int iterationNumber_;
    80      //@}
     71  //@{
     72  /// Pointer back to model
     73  ClpSimplex *model_;
     74  /// Saved extreme points
     75  std::deque< StdVectorDouble > feasibleExtremePoints_;
     76  /// Iteration number so won't do same one twice
     77  int iterationNumber_;
     78  //@}
    8179};
    8280
    8381#endif
     82
     83/* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
     84*/
Note: See TracChangeset for help on using the changeset viewer.