Origin-Destination Betweenness Centrality (2.2.4)
Parameter |
Mandatory |
Description |
Type |
Value Range |
Default Value |
---|---|---|---|---|---|
directed |
No |
Whether an edge is directed |
Boolean |
The value can be true or false |
true |
weight |
No |
Weight of an edge |
String |
The value can be an empty string. If this parameter is left blank, the weight and distance of this edge are 1 by default. You can set this parameter to a property of the edge, and the property value will be the weight. If the edge does not have the specified property, the weight is 1 by default.
NOTE:
The weight of an edge must be greater than 0. |
- |
OD |
No |
Start vertex and end vertex pair (origin-destination) |
String |
The value must be in the standard CSV format. The start vertex (origin) and end vertex (destination) are separated by commas (,), and the start and end vertex pairs are separated by newline characters (\n), for example, Alice,Nana\nLily,Amy. |
- |
seeds |
No |
ID of the hot spot vertex. |
String |
If OD is not set, the seeds data will be used. |
- |
modes |
No |
Hot spot vertex type. |
String |
|
- |
capacity |
No |
Number of participants at each hot spot in seeds. |
Integer |
- |
- |
Either OD_pairs or seeds must be specified. If they are both specified, the OD_pair value prevails.
Parameter |
Type |
Description |
---|---|---|
betweenness |
List |
Betweenness value of each edge. The format is [{"source":sourceId,"target":targetId,"index":indexValue,"betweenness":betweennessValue}, ...].
|
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