modifié : include/Appli/Option.hpp modifié : include/ArrayTree/ArrayTreeBuilder.hpp modifié : include/ArrayTree/ArrayTreeBuilder.tpp modifié : include/ArrayTree/triskeleArrayTreeBase.hpp modifié : include/TreeStats.hpp modifié : include/TreeStats.tpp modifié : src/Appli/Option.cpp modifié : src/ArrayTree/triskeleArrayTreeBase.cpp modifié : src/TreeStats.cpp modifié : src/apGenerator.cpp
20 lines
509 B
C++
20 lines
509 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);
|
|
}
|
|
|
|
// ========================================
|
|
|
|
|
|
#endif // _OTB_TRISKELE_TREE_STATS_TPP
|