CoinWarmStart.hpp

Go to the documentation of this file.
00001 /* $Id: CoinWarmStart.hpp 1372 2011-01-03 23:31:00Z lou $ */
00002 // Copyright (C) 2000, International Business Machines
00003 // Corporation and others.  All Rights Reserved.
00004 // This code is licensed under the terms of the Eclipse Public License (EPL).
00005 
00006 #ifndef CoinWarmStart_H
00007 #define CoinWarmStart_H
00008 
00009 //#############################################################################
00010 
00011 class CoinWarmStartDiff;
00012 
00021 class CoinWarmStart {
00022 public:
00023 
00025   virtual ~CoinWarmStart() {}
00026 
00028   virtual CoinWarmStart *clone() const = 0 ;
00029    
00030   virtual CoinWarmStartDiff*
00031   generateDiff (const CoinWarmStart *const ) const { return 0; }
00032    
00033    
00034   virtual void
00035   applyDiff (const CoinWarmStartDiff *const ) {}
00036 
00037 };
00038 
00039 
00048 class CoinWarmStartDiff {
00049 public:
00050 
00052   virtual ~CoinWarmStartDiff() {}
00053 
00055   virtual CoinWarmStartDiff *clone() const = 0 ;
00056 };
00057 
00058 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 28 Aug 2016 for CoinUtils by  doxygen 1.6.1