Cbc trunk
CbcConsequence.hpp
Go to the documentation of this file.
00001 // $Id$
00002 // Copyright (C) 2002, 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 // Edwin 11/12/2009 carved from CbcBranchBase
00007 
00008 #ifndef CbcConsequence_H
00009 #define CbcConsequence_H
00010 
00011 class OsiSolverInterface;
00012 
00022 class CbcConsequence {
00023 
00024 public:
00025 
00026     // Default Constructor
00027     CbcConsequence ();
00028 
00029     // Copy constructor
00030     CbcConsequence ( const CbcConsequence & rhs);
00031 
00032     // Assignment operator
00033     CbcConsequence & operator=( const CbcConsequence & rhs);
00034 
00036     virtual CbcConsequence * clone() const = 0;
00037 
00039     virtual ~CbcConsequence ();
00040 
00043     virtual void applyToSolver(OsiSolverInterface * solver, int state) const = 0;
00044 
00045 protected:
00046 };
00047 
00048 #endif
00049 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines