# Interface BestSolution

The best solution found by the forest.

interface BestSolution {
treeId: string;
path: readonly string[];
conclusionNode: ReasoningNode;
confidence: number;
qualityScore: number;
combinedScore: number;
}

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

##### Index

### Properties

treeId
path
conclusionNode
confidence
qualityScore
combinedScore

## Properties

### `Readonly` treeId

treeId: string

Tree that produced the solution

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

### `Readonly` path

path: readonly string[]

Path to the solution

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

### `Readonly` conclusionNode

conclusionNode: ReasoningNode

Solution node

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

### `Readonly` confidence

confidence: number

Overall confidence

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

### `Readonly` qualityScore

qualityScore: number

Overall quality score

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

### `Readonly` combinedScore

combinedScore: number

Combined score

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