# Interface Forest

A forest of reasoning trees with sparse activation. Coordinates multiple parallel reasoning approaches.

interface Forest {
id: string;
problem: string;
trees: ReadonlyMap<string, ReasoningTree>;
state: ForestState;
bestPaths: readonly PathScore[];
crossTreeInfo: CrossTreeInfo;
statistics: ForestStatistics;
activationBudget: number;
activeTreeIds: readonly string[];
createdAt: number;
updatedAt: number;
}

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

##### Index

### Properties

id
problem
trees
state
bestPaths
crossTreeInfo
statistics
activationBudget
activeTreeIds
createdAt
updatedAt

## Properties

### `Readonly` id

id: string

Unique forest identifier

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

### `Readonly` problem

problem: string

Problem being solved

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

### `Readonly` trees

trees: ReadonlyMap<string, ReasoningTree>

All trees in the forest (id -> tree)

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

### `Readonly` state

state: ForestState

Current state of the forest

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

### `Readonly` bestPaths

bestPaths: readonly PathScore[]

Best paths across all trees

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

### `Readonly` crossTreeInfo

crossTreeInfo: CrossTreeInfo

Cross-tree shared information

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

### `Readonly` statistics

statistics: ForestStatistics

Forest-wide statistics

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

### `Readonly` activationBudget

activationBudget: number

Maximum number of active nodes (sparse activation budget)

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

### `Readonly` activeTreeIds

activeTreeIds: readonly string[]

Currently active tree IDs

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

### `Readonly` createdAt

createdAt: number

Creation timestamp

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

### `Readonly` updatedAt

updatedAt: number

Last update timestamp

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