Cbc  trunk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
CbcObjectUpdateData.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 CbcObjectUpdateData_H
00009 #define CbcObjectUpdateData_H
00010 
00011 #include "CbcObject.hpp"
00012 /*  This stores data so an object can be updated
00013  */
00014 class CbcObjectUpdateData {
00015 
00016 public:
00017 
00019     CbcObjectUpdateData ();
00020 
00022     CbcObjectUpdateData (CbcObject * object,
00023                          int way,
00024                          double change,
00025                          int status,
00026                          int intDecrease_,
00027                          double branchingValue);
00028 
00030     CbcObjectUpdateData ( const CbcObjectUpdateData &);
00031 
00033     CbcObjectUpdateData & operator=( const CbcObjectUpdateData& rhs);
00034 
00036     virtual ~CbcObjectUpdateData ();
00037 
00038 
00039 public:
00041 
00043     CbcObject * object_;
00045     int way_;
00047     int objectNumber_;
00049     double change_;
00051     int status_;
00053     int intDecrease_;
00055     double branchingValue_;
00057     double originalObjective_;
00059     double cutoff_;
00060 
00061 };
00062 
00063 #endif
00064 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines