> ## Documentation Index
> Fetch the complete documentation index at: https://docs.resq.software/llms.txt
> Use this file to discover all available pages before exploring further.

# Resq dsa Graph PathResult

## PathResult

```cpp theme={null}
#include <graph.hpp>
```

[Result](./resq-Result.md#result) of a shortest path search.

### Public Attributes

| Return              | Name            | Description                             |
| ------------------- | --------------- | --------------------------------------- |
| `std::vector< Id >` | [`path`](#path) | Vertices on the path from start to end. |
| `double`            | [`cost`](#cost) | Total cost of the path.                 |

***

#### path

```cpp theme={null}
std::vector< Id > path
```

Vertices on the path from start to end.

***

#### cost

```cpp theme={null}
double cost
```

Total cost of the path.
