Dip  0.92.4
UtilHash.h
Go to the documentation of this file.
1 //===========================================================================//
2 // This file is part of the Decomp Solver Framework. //
3 // //
4 // Decomp is distributed under the Common Public License as part of the //
5 // COIN-OR repository (http://www.coin-or.org). //
6 // //
7 // Author: Matthew Galati, SAS Institute Inc. (matthew.galati@sas.com) //
8 // //
9 // Copyright (C) 2002-2007, Lehigh University, Matthew Galati, and Ted Ralphs//
10 // All Rights Reserved. //
11 //===========================================================================//
12 
13 
14 #ifndef UTIL_HASH_INCLUDED
15 #define UTIL_HASH_INCLUDED
16 
17 #include <string>
18 using namespace std;
19 
20 string UtilCreateStringHash(const int len,
21  const double* els,
22  const int precision = 6);
23 
24 string UtilCreateStringHash(const int len,
25  const int* ind,
26  const double* els,
27  const int precision = 6);
28 
29 string UtilCreateStringHash(const int len,
30  const int* ind,
31  const double* els,
32  const char sense,
33  const double rhs,
34  const int precision = 6);
35 
36 #endif
string UtilCreateStringHash(const int len, const double *els, const int precision=6)