public class Stats
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
depthMax
Maximal detected depth.
|
int |
depthMin
Minimal detected depth.
|
int |
fanoutMax
Maximal detected fanout.
|
int |
fanoutMin
Minimal detected fanout.
|
int |
treeNodes
Overall number of nodes.
|
Constructor and Description |
---|
Stats(int treeNodes,
int fanoutMin,
int fanoutMax,
int depthMin,
int depthMax)
Creates a new instance of data tree statistics container.
|
Modifier and Type | Method and Description |
---|---|
static Stats |
mergeNestedStatistics(java.util.List<Stats> nestedStats)
Merges statistics from nested child nodes.
|
static Stats |
mergeTreeStatistics(java.util.List<Stats> treeStats)
Merges statistics from several data trees and computes their averages.
|
public int treeNodes
public int fanoutMin
public int fanoutMax
public int depthMin
public int depthMax
public Stats(int treeNodes, int fanoutMin, int fanoutMax, int depthMin, int depthMax)
treeNodes
- Overall number of nodes.fanoutMin
- Minimal detected fanout.fanoutMax
- Maximal detected fanout.depthMin
- Minimal detected depth.depthMax
- Maximal detected depth.public static Stats mergeNestedStatistics(java.util.List<Stats> nestedStats)
nestedStats
- List of fetched nested statistics.public static Stats mergeTreeStatistics(java.util.List<Stats> treeStats)
treeStats
- List of data tree statistics.