
modifié : include/ArrayTree/ArrayTreeBuilder.hpp modifié : include/ArrayTree/ArrayTreeBuilder.tpp modifié : include/TreeStats.hpp modifié : include/TreeStats.tpp modifié : src/TreeStats.cpp
25 lines
627 B
C++
25 lines
627 B
C++
#ifndef _OTB_TRISKELE_TREE_STATS_TPP
|
|
#define _OTB_TRISKELE_TREE_STATS_TPP
|
|
|
|
// ========================================
|
|
inline void
|
|
TreeStats::addDim (const TreeType &treeType, const DimImg& leafCount, const DimImg& compCount) {
|
|
leavesStats[treeType] (leafCount);
|
|
compStats[treeType] (compCount);
|
|
}
|
|
|
|
inline void
|
|
TreeStats::addTime (const TimeType &timeType, const double &duration) {
|
|
timeStats[timeType] (duration);
|
|
}
|
|
|
|
inline const TreeStatsDouble &
|
|
TreeStats::getTimeStats (const TimeType &timeType) {
|
|
return timeStats [timeType];
|
|
}
|
|
|
|
// ========================================
|
|
|
|
|
|
#endif // _OTB_TRISKELE_TREE_STATS_TPP
|