Shortest Path of Vertex Set
Parameter |
Mandatory |
Description |
Type |
Value Range |
Default Value |
---|---|---|---|---|---|
sources |
Yes |
Source vertex ID set |
String |
The value is in the standard CSV format. IDs are separated by commas (,), for example, Alice, Nana. The maximum ID number is 100000. |
- |
targets |
Yes |
Target vertex ID set |
String |
The value is in the standard CSV format. IDs are separated by commas (,), for example, Alice, Nana. The maximum ID number is 100000. |
- |
directed |
No |
Whether an edge is directed |
Boolean |
The value can only be true. |
true |
timeWindow |
No |
Time window used for time filtering |
Object |
For details, see Table 2. |
- |
Parameter |
Mandatory |
Description |
Type |
Value Range |
Default Value |
---|---|---|---|---|---|
filterName |
No |
Name of the time property used for time filtering |
String |
Character string: The property on the corresponding vertex/edge is used as the time. |
- |
filterType |
No |
Filtering by vertex or edge |
String |
V: filtering by vertex E: filtering by edge BOTH: filtering by vertex and edge |
BOTH |
startTime |
No |
Start time |
String |
Date character string or timestamp |
- |
endTime |
No |
End time |
String |
Date character string or timestamp |
- |
Parameter |
Type |
Description |
---|---|---|
path |
List |
Shortest path. The format is as follows: [vertexId,...] where vertexId is of the string type. |
source |
String |
Source vertex ID |
target |
String |
Target vertex ID |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot