/*
    Copyright (C) 2012 Bartosz Broda, Jacek Bochenek, Łukasz Biłeńkij, 
    Damian Jaworski, Wojciech Mazur, Dominik Piasecki, Maciej Piasecki, 
    Radosław Ramocki
    
    This program is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by the Free
Software Foundation; either version 3 of the License, or (at your option)
any later version.

    This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. 

    See the LICENSE and COPYING files for more details.
*/

#ifndef DOC_TERMARCHITECT_MATRIXSAVER_H
#define DOC_TERMARCHITECT_MATRIXSAVER_H
#include "matrices_all.h"

namespace doc_term_architect
{

	class MatrixSaver
	{
	public:
		void SaveToSuperMatrix ( Matrices::CRSMatrixPtr crs, size_t unitscount);
		
	private:
		Matrices::CRSMatrixPtr pCRS;
		Matrices::CCSMatrixPtr pCCS;
		Matrices::FeatureVectorPtr row_features;
		Matrices::FeatureVectorPtr column_features;
		void PrepareFeatures();
	};
	

}// doc_term_architect

#endif //DOC_TERMARCHITECT_MATRIXSAVER_H
