Couenne
0.5.8
src
util
CouenneSparseMatrix.hpp
Go to the documentation of this file.
1
/* $Id: CouenneSparseMatrix.hpp 713 2011-06-26 07:40:33Z pbelotti $
2
*
3
* Name: CouenneSparseMatrix.hpp
4
* Authors: Pietro Belotti, Clemson University
5
* Purpose: Definition of a sparse Matrix for use in distance
6
* measurements in Feasibility Pump
7
*
8
* This file is licensed under the Eclipse Public License (EPL)
9
*/
10
11
#ifndef COUENNESPARSEMATRIX_HPP
12
#define COUENNESPARSEMATRIX_HPP
13
14
namespace
Couenne
{
15
17
class
CouenneSparseMatrix
{
18
19
public
:
20
22
CouenneSparseMatrix
();
23
25
CouenneSparseMatrix
(
const
CouenneSparseMatrix
&);
26
28
CouenneSparseMatrix
&
operator=
(
const
CouenneSparseMatrix
&rhs);
29
31
CouenneSparseMatrix
*
clone
();
32
34
virtual
~CouenneSparseMatrix
();
35
37
int
&num () {
return
num_;}
38
double
*&val () {
return
val_;}
39
int
*&col () {
return
col_;}
40
int
*&row () {
return
row_;}
41
42
private
:
43
45
int
num_;
46
double
*val_;
47
int
*col_;
48
int
*row_;
49
};
50
}
51
52
#endif
Couenne
general include file for different compilers
Definition:
CouenneAggrProbing.hpp:24
Couenne::CouenneSparseMatrix::operator=
CouenneSparseMatrix & operator=(const CouenneSparseMatrix &rhs)
Assignment.
Couenne::CouenneSparseMatrix::clone
CouenneSparseMatrix * clone()
Clone.
Couenne::CouenneSparseMatrix::~CouenneSparseMatrix
virtual ~CouenneSparseMatrix()
Destructor.
Couenne::CouenneSparseMatrix::CouenneSparseMatrix
CouenneSparseMatrix()
Constructor.
Couenne::CouenneSparseMatrix
Class for sparse Matrixs (used in modifying distances in FP)
Definition:
CouenneSparseMatrix.hpp:17
Generated by
1.8.17