# Interface ReasoningTree

A reasoning tree containing nodes organized hierarchically. Each tree explores one approach to solving the problem.

interface ReasoningTree {
id: string;
forestId: string;
rootId: string;
nodes: ReadonlyMap<string, ReasoningNode>;
state: TreeState;
overallScore: number;
explorationPriority: number;
hypothesis: string;
bestPaths: readonly PathScore[];
statistics: TreeStatistics;
createdAt: number;
updatedAt: number;
}

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

##### Index

### Properties

id
forestId
rootId
nodes
state
overallScore
explorationPriority
hypothesis
bestPaths
statistics
createdAt
updatedAt

## Properties

### `Readonly` id

id: string

Unique tree identifier

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

### `Readonly` forestId

forestId: string

ID of the forest this tree belongs to

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

### `Readonly` rootId

rootId: string

Root node ID

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

### `Readonly` nodes

nodes: ReadonlyMap<string, ReasoningNode>

All nodes in this tree (id -> node)

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

### `Readonly` state

state: TreeState

Current state of the tree

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

### `Readonly` overallScore

overallScore: number

Overall tree score for ranking (0-1)

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

### `Readonly` explorationPriority

explorationPriority: number

Priority for exploration (higher = explore first)

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

### `Readonly` hypothesis

hypothesis: string

Tree hypothesis or approach description

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

### `Readonly` bestPaths

bestPaths: readonly PathScore[]

Best path(s) found in this tree

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

### `Readonly` statistics

statistics: TreeStatistics

Tree statistics

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

### `Readonly` createdAt

createdAt: number

Creation timestamp

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

### `Readonly` updatedAt

updatedAt: number

Last update timestamp

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