n-Paths (1.1.2)
| Parameter | Mandatory | Description | Type | Value Range | Default Value |
|---|---|---|---|---|---|
| source | Yes | Source vertex ID of a path | String | - | - |
| target | Yes | Target vertex ID of a path | String | - | - |
| directed | No | Whether to consider the edge direction | Boolean | true or false | false |
| n | No | Number of paths | Integer | 1 to 100 | 10 |
| k | No | Number of hops | Integer | 1 to 10 | 5 |
| Parameter | Type | Description |
|---|---|---|
| paths | List | Paths between the source vertex and target vertex. The format is as follows: [[path1],[path2]] For the format of path, see Shortest Path. |
| paths_number | Integer | Number of paths |
| source | String | Source vertex ID |
| target | String | Target vertex ID |
Last Article: Shortest Path of Vertex Sets (2.1.5)
Next Article: Closeness Centrality (1.0.0)
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.