Cbc  2.9.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CoinWarmStart.hpp
Go to the documentation of this file.
1 /* $Id: CoinWarmStart.hpp 1372 2011-01-03 23:31:00Z lou $ */
2 // Copyright (C) 2000, International Business Machines
3 // Corporation and others. All Rights Reserved.
4 // This code is licensed under the terms of the Eclipse Public License (EPL).
5 
6 #ifndef CoinWarmStart_H
7 #define CoinWarmStart_H
8 
9 //#############################################################################
10 
11 class CoinWarmStartDiff;
12 
22 public:
23 
25  virtual ~CoinWarmStart() {}
26 
28  virtual CoinWarmStart *clone() const = 0 ;
29 
30  virtual CoinWarmStartDiff*
31  generateDiff (const CoinWarmStart *const ) const { return 0; }
32 
33 
34  virtual void
35  applyDiff (const CoinWarmStartDiff *const ) {}
36 
37 };
38 
39 
49 public:
50 
52  virtual ~CoinWarmStartDiff() {}
53 
55  virtual CoinWarmStartDiff *clone() const = 0 ;
56 };
57 
58 #endif
virtual CoinWarmStartDiff * clone() const =0
`Virtual constructor'
virtual void applyDiff(const CoinWarmStartDiff *const )
virtual CoinWarmStart * clone() const =0
`Virtual constructor'
virtual ~CoinWarmStart()
Abstract destructor.
virtual CoinWarmStartDiff * generateDiff(const CoinWarmStart *const ) const
Abstract base class for warm start `diff' objects.
Abstract base class for warm start information.
virtual ~CoinWarmStartDiff()
Abstract destructor.