CouenneSparseMatrix.hpp

Go to the documentation of this file.
00001 /* $Id: CouenneSparseMatrix.hpp 713 2011-06-26 07:40:33Z pbelotti $
00002  *
00003  * Name:    CouenneSparseMatrix.hpp
00004  * Authors: Pietro Belotti, Clemson University
00005  * Purpose: Definition of a sparse Matrix for use in distance
00006  *          measurements in Feasibility Pump
00007  * 
00008  * This file is licensed under the Eclipse Public License (EPL)
00009  */
00010 
00011 #ifndef COUENNESPARSEMATRIX_HPP
00012 #define COUENNESPARSEMATRIX_HPP
00013 
00014 namespace Couenne {
00015 
00017   class CouenneSparseMatrix {
00018 
00019   public:
00020 
00022     CouenneSparseMatrix ();
00023 
00025     CouenneSparseMatrix (const CouenneSparseMatrix &);
00026 
00028     CouenneSparseMatrix &operator= (const CouenneSparseMatrix &rhs);
00029 
00031     CouenneSparseMatrix *clone ();
00032 
00034     virtual ~CouenneSparseMatrix ();
00035 
00037     int     &num () {return num_;} 
00038     double *&val () {return val_;} 
00039     int    *&col () {return col_;} 
00040     int    *&row () {return row_;} 
00041 
00042   private:
00043 
00045     int     num_; 
00046     double *val_; 
00047     int    *col_; 
00048     int    *row_; 
00049   };
00050 }
00051 
00052 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 14 Jan 2015 for Couenne by  doxygen 1.6.1