10 /***********************************************************************/
18 PCell() : row(0), column(0), dist(0), vectorMap(NULL) {};
19 PCell(ull r, ull c, float d) : row(r), column(c), dist(d), vectorMap(NULL) {};
22 /***********************************************************************/
24 typedef list<PCell>::iterator MatData;
30 ~SparseMatrix(){ while(!mins.empty() && mins.back() == NULL){ mins.pop_back(); } }
32 void print(); //Print the contents of the matrix
33 void print(ListVector*); //Print the contents of the matrix
34 PCell* getSmallestCell(); //Return the cell with the smallest distance
37 MatData rmCell(MatData);
44 PCell* smallCell; //The cell with the smallest distance
55 /***********************************************************************/