# Interface ForestResult

Result of Forest-of-Thought reasoning.

interface ForestResult {
forestId: string;
problem: string;
bestSolution: BestSolution | null;
topPaths: readonly PathScore[];
conclusions: readonly ReasoningNode[];
finalState: ForestState;
terminationReason: TerminationReason;
statistics: ForestStatistics;
durationMs: number;
totalTokensUsed: number;
explorationHistory?: readonly ExplorationEvent[];
}

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

##### Index

### Properties

forestId
problem
bestSolution
topPaths
conclusions
finalState
terminationReason
statistics
durationMs
totalTokensUsed
explorationHistory?

## Properties

### `Readonly` forestId

forestId: string

Forest ID

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

### `Readonly` problem

problem: string

Original problem

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

### `Readonly` bestSolution

bestSolution: BestSolution | null

Best solution found

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

### `Readonly` topPaths

topPaths: readonly PathScore[]

All high-quality paths found

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

### `Readonly` conclusions

conclusions: readonly ReasoningNode[]

All conclusions reached across trees

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

### `Readonly` finalState

finalState: ForestState

Final state of the forest

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

### `Readonly` terminationReason

terminationReason: TerminationReason

Reason for termination

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

### `Readonly` statistics

statistics: ForestStatistics

Final statistics

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

### `Readonly` durationMs

durationMs: number

Total duration in ms

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

### `Readonly` totalTokensUsed

totalTokensUsed: number

Total tokens used

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

### `Optional` `Readonly` explorationHistory

explorationHistory?: readonly ExplorationEvent[]

Exploration history for analysis

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