#ifdef STATISTICS
/*
 * $Id: Direction_statistics_allocation.cpp 128 2009-06-26 08:43:23Z rosiere $
 *
 * [ Description ]
 * 
 */

#include "Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Direction/include/Direction.h"

namespace morpheo {
namespace behavioural {
namespace core {
namespace multi_front_end {
namespace front_end {
namespace prediction_unit {
namespace direction {


#undef  FUNCTION
#define FUNCTION "Direction::statistics_allocation"
  void Direction::statistics_allocation (morpheo::behavioural::Parameters_Statistics * param_statistics)
  {
    log_printf(FUNC,Direction,FUNCTION,"Begin");

    _stat = new Stat (static_cast<std::string>(_name),
		      "Direction",
		      param_statistics);

    if (_param->_have_component_meta_predictor)
    _stat->add_stat(_component_meta_predictor->_stat);
    _stat->add_stat(_component_glue          ->_stat);
    
    log_printf(FUNC,Direction,FUNCTION,"End");
  };

}; // end namespace direction
}; // end namespace prediction_unit
}; // end namespace front_end
}; // end namespace multi_front_end
}; // end namespace core

}; // end namespace behavioural
}; // end namespace morpheo              
#endif
