Class E112_TreeStats

Assembly: redb.Examples.dll

Tree statistics via TreeCollection.
TreeCollection.GetStats() - node count, depth, leaf count, max width.
Key method:

collection.GetStats() - get tree metrics

[ExampleMeta("E112", "Tree - GetStats", "Trees", ExampleTier.Free, 2, new string[] { "Tree", "TreeCollection", "GetStats", "Statistics", "Pro" }, Order = 112)]
public class E112_TreeStats : ExampleBase

Inheritance

ObjectExampleBaseE112_TreeStats

Inherited Members

Methods

RunAsync(IRedbService)

Run the example and return result.

public override Task<ExampleResult> RunAsync(IRedbService redb)