[**European Parliament MCP Server API v1.3.9**](../../../README.md)

***

[European Parliament MCP Server API](../../../modules.md) / [utils/graphAlgorithms](../README.md) / bfsLimited

# Function: bfsLimited()

> **bfsLimited**(`adj`, `seeds`, `maxDepth`): [`Set`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Set)\<`string`\>

Defined in: [utils/graphAlgorithms.ts:103](https://github.com/Hack23/European-Parliament-MCP-Server/blob/main/src/utils/graphAlgorithms.ts#L103)

## Parameters

### adj

[`AdjacencyMap`](../type-aliases/AdjacencyMap.md)

### seeds

readonly `string`[]

### maxDepth

`number`

## Returns

[`Set`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Set)\<`string`\>
