# Interface TreeStatistics

Statistics for a reasoning tree.

interface TreeStatistics {
totalNodes: number;
activeNodes: number;
maxDepth: number;
avgQualityScore: number;
avgConfidence: number;
conclusionCount: number;
totalTokensUsed: number;
avgBranchingFactor: number;
}

- Defined in packages/nexus-agents/src/agents/reasoning/forest-tree-types.ts:131

##### Index

### Properties

totalNodes
activeNodes
maxDepth
avgQualityScore
avgConfidence
conclusionCount
totalTokensUsed
avgBranchingFactor

## Properties

### `Readonly` totalNodes

totalNodes: number

Total number of nodes in the tree

- Defined in packages/nexus-agents/src/agents/reasoning/forest-tree-types.ts:133

### `Readonly` activeNodes

activeNodes: number

Number of currently active nodes

- Defined in packages/nexus-agents/src/agents/reasoning/forest-tree-types.ts:135

### `Readonly` maxDepth

maxDepth: number

Maximum depth reached

- Defined in packages/nexus-agents/src/agents/reasoning/forest-tree-types.ts:137

### `Readonly` avgQualityScore

avgQualityScore: number

Average node quality score

- Defined in packages/nexus-agents/src/agents/reasoning/forest-tree-types.ts:139

### `Readonly` avgConfidence

avgConfidence: number

Average node confidence

- Defined in packages/nexus-agents/src/agents/reasoning/forest-tree-types.ts:141

### `Readonly` conclusionCount

conclusionCount: number

Number of conclusion nodes

- Defined in packages/nexus-agents/src/agents/reasoning/forest-tree-types.ts:143

### `Readonly` totalTokensUsed

totalTokensUsed: number

Total tokens used across all nodes

- Defined in packages/nexus-agents/src/agents/reasoning/forest-tree-types.ts:145

### `Readonly` avgBranchingFactor

avgBranchingFactor: number

Average branching factor

- Defined in packages/nexus-agents/src/agents/reasoning/forest-tree-types.ts:147