# Interface PathScore

A scored path through a reasoning tree from root to a target node.

interface PathScore {
treeId: string;
path: readonly string[];
targetNodeId: string;
score: number;
breakdown: PathScoreBreakdown;
reachesConclusion: boolean;
length: number;
}

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

##### Index

### Properties

treeId
path
targetNodeId
score
breakdown
reachesConclusion
length

## Properties

### `Readonly` treeId

treeId: string

Tree this path belongs to

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

### `Readonly` path

path: readonly string[]

Ordered node IDs from root to target

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

### `Readonly` targetNodeId

targetNodeId: string

Target node (usually a conclusion)

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

### `Readonly` score

score: number

Overall path score (0-1)

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

### `Readonly` breakdown

breakdown: PathScoreBreakdown

Detailed score breakdown

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

### `Readonly` reachesConclusion

reachesConclusion: boolean

Whether this path reaches a conclusion

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

### `Readonly` length

length: number

Path length (number of nodes)

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