triskele/include/TreeStats.tpp
Git Merciol c8714ca77a nouveau fichier : include/TreeStats.hpp
nouveau fichier : include/TreeStats.tpp
	nouveau fichier : src/TreeStats.cpp
2018-02-26 13:50:36 +01:00

20 lines
493 B
C++

#ifndef _OTB_TRISKELE_TREE_STATS_TPP
#define _OTB_TRISKELE_TREE_STATS_TPP
// ========================================
inline void
TreeStats::addDim (const treeType &type, const DimImg& leafCount, const DimImg& compCount) {
leavesStats[type] (leafCount);
compStats[type] (compCount);
}
inline void
TreeStats::addTime (const statsIdxType &type, const double &duration) {
timeStats[type] (duration);
}
// ========================================
#endif // _OTB_TRISKELE_TREE_STATS_TPP