/home/coin/SVN-release/CoinAll-1.1.0/Bcps/src/BcpsSubTree.h

Go to the documentation of this file.
00001 /*===========================================================================*
00002  * This file is part of the Branch, Constrain and Price Software (BiCePS)    *
00003  *                                                                           *
00004  * BiCePS is distributed under the Common Public License as part of the      *
00005  * COIN-OR repository (http://www.coin-or.org).                              *
00006  *                                                                           *
00007  * Authors:                                                                  *
00008  *                                                                           *
00009  *          Yan Xu, Lehigh University                                        *
00010  *          Ted Ralphs, Lehigh University                                    *
00011  *                                                                           *
00012  * Conceptual Design:                                                        *
00013  *                                                                           *
00014  *          Yan Xu, Lehigh University                                        *
00015  *          Ted Ralphs, Lehigh University                                    *
00016  *          Laszlo Ladanyi, IBM T.J. Watson Research Center                  *
00017  *          Matthew Saltzman, Clemson University                             *
00018  *                                                                           *
00019  * Copyright (C) 2001-2007, Lehigh University, Yan Xu, and Ted Ralphs.       *
00020  * All Rights Reserved.                                                      *
00021  *===========================================================================*/
00022 
00023 #ifndef BcpsSubTree_h_
00024 #define BcpsSubTree_h_
00025 
00026 #include <vector>
00027 #include "AlpsSubTree.h"
00028 #include "BcpsObjectPool.h"
00029 
00030 //#############################################################################
00031 
00032 //#############################################################################
00039 // *FIXME* : Implement hashing for object storage. 
00040 //#############################################################################
00041 
00042 class BcpsSubTree : public virtual AlpsSubTree {
00043  private:
00045     BcpsConstraintPool *constraintPool_;
00046     BcpsVariablePool *variablePool_;
00047     
00048  public:
00049     BcpsSubTree() 
00050         :
00051         constraintPool_(new BcpsConstraintPool),
00052         variablePool_(new BcpsVariablePool)
00053         {}
00054     virtual ~BcpsSubTree() 
00055         {
00056             delete constraintPool_;
00057             delete variablePool_;
00058         }
00059 
00060     BcpsConstraintPool* getConstraintPool() const 
00061         {
00062             return constraintPool_;
00063         }
00064     
00065     BcpsVariablePool* getVariablePool() const 
00066         {
00067             return variablePool_;
00068         }
00069 };
00070 
00071 
00072 //#############################################################################
00073 //#############################################################################
00074 
00075 #endif

Generated on Sun Nov 14 14:06:30 2010 for Coin-All by  doxygen 1.4.7