Common Neighbors of Vertex Sets
Parameter | Mandatory | Description | Type | Value Range | Default Value |
---|---|---|---|---|---|
sources (2.2.6) | 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 (2.2.6) | Yes | Target vertex ID set | String | The value is in the standard CSV format. IDs are separated by commas (,), for example, Mike,Amy. The maximum ID number is 100000. | - |
restricted (2.2.13) | No | Whether other constraints are included | Boolean | true or false
| true |
Parameter | Type | Description |
---|---|---|
vertices | List | Common neighbor vertices. The format is as follows: [vertexId,...], where vertexId is of the string type. |
common_neighbors | Integer | Number of common neighbors |
Parent topic: Algorithm API Parameter References