Clp 1.17.6

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

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 2083 2019-01-06 19:38:09Z unxusr $ */
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
21 class CoinWarmStart {
22 public:
24 virtual ~CoinWarmStart() {}
25
27 virtual CoinWarmStart *clone() const = 0;
28
29 virtual CoinWarmStartDiff *
30 generateDiff(const CoinWarmStart *const) const { return 0; }
31
32 virtual void
33 applyDiff(const CoinWarmStartDiff *const) {}
34 };
35
44 class CoinWarmStartDiff {
45 public:
47 virtual ~CoinWarmStartDiff() {}
48
50 virtual CoinWarmStartDiff *clone() const = 0;
51 };
52
53 #endif
54
55 /* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
56 */
CoinWarmStart::generateDiff
virtual CoinWarmStartDiff * generateDiff(const CoinWarmStart *const) const
Definition: CoinWarmStart.hpp:30
CoinWarmStartDiff::clone
virtual CoinWarmStartDiff * clone() const =0
`Virtual constructor&#39;
CoinWarmStart::clone
virtual CoinWarmStart * clone() const =0
`Virtual constructor&#39;
CoinWarmStart::applyDiff
virtual void applyDiff(const CoinWarmStartDiff *const)
Definition: CoinWarmStart.hpp:33
CoinWarmStart::~CoinWarmStart
virtual ~CoinWarmStart()
Abstract destructor.
Definition: CoinWarmStart.hpp:24
CoinWarmStartDiff
Abstract base class for warm start `diff&#39; objects.
Definition: CoinWarmStart.hpp:44
CoinWarmStart
Abstract base class for warm start information.
Definition: CoinWarmStart.hpp:21
CoinWarmStartDiff::~CoinWarmStartDiff
virtual ~CoinWarmStartDiff()
Abstract destructor.
Definition: CoinWarmStart.hpp:47