sparse-vector.h

Go to the documentation of this file.
00001 // Copyright 2007, Massachusetts Institute of Technology.
00002 // The use of this code is permitted for research only. There is
00003 // absolutely no warranty for this software.
00004 //
00005 // Author: John Lee (jjl@mit.edu)
00006 //
00007 
00008 #ifndef UTIL_SPARSE_VECTOR_H
00009 #define UTIL_SPARSE_VECTOR_H
00010 
00011 #include <map>
00012 #include <vector>
00013 
00014 using namespace std;
00015 
00016 namespace libpmk {
00017    
00018 typedef vector<int> LargeIndex;
00019 typedef pair<LargeIndex, double> IndexValuePair;
00020 typedef vector<IndexValuePair> SparseVector;
00021 
00022 }  // namespace libpmk
00023 
00024 #endif  // UTIL_SPARSE_VECTOR_H

Generated on Wed May 2 11:17:12 2007 for libpmk by  doxygen 1.5.1