/*
    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 SUM_FLEX_H
#define SUM_FLEX_H
#include "matrices_all.h"
#include <cmath>
#include <boost/regex.hpp>

namespace sum_flex
{
	void helpMsg(char ** av);
	void setMatrixRowsAndRowFeatures(std::map<std::string,std::vector<size_t> > word_rows, Matrices::SuperMatrixPtr outMatrix,  Matrices::SuperMatrixPtr inMatrix);
	void setColumnFeatures(Matrices::SuperMatrixPtr outMatrix,  Matrices::SuperMatrixPtr inMatrix);
	Matrices::SuperMatrixPtr getOutputMatrix(Matrices::SuperMatrixPtr inMatrix, std::string matrixName);
	Matrices::SuperMatrixPtr getOutputMatrix(int ac, char** av);
	int tool_main(int ac, char**av);
}
#endif // SUM_FLEX_H
