SSSP
Parameter | Mandatory | Description | Type | Value Range | Default Value |
---|---|---|---|---|---|
source | Yes | Vertex ID | String | - | - |
directed | No | Whether to consider the edge direction | Boolean | true or false | true |
Parameter | Type | Description |
---|---|---|
distance | List | Path length of each vertex in the graph from the source vertex. The format is as follows: [{vertexId:distanceValue},...], where vertexId is of the string type. distanceValue is of the double type. |
source | String | Source vertex ID |
Parent topic: Algorithm API Parameter References