20 lines
493 B
C++
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
|