Skip to content

Commit 5f8ff21

Browse files
Update public/doc/modules/ROOT/partials/algorithms/node-similarity/specific-configuration.adoc
Co-authored-by: Nicola Vitucci <nicola.vitucci@gmail.com>
1 parent 1594900 commit 5f8ff21

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/modules/ROOT/partials/algorithms/node-similarity/specific-configuration.adoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ If unspecified, the algorithm runs unweighted.
2121
| similarityMetric
2222
| String | JACCARD | yes | The metric used to compute similarity.
2323
Can be either `JACCARD`, `OVERLAP` or `COSINE`.
24-
| [[runwcc-{instance}]] runWcc | Boolean | false | yes | If enabled, an optimization which can increase performance for multi-component graphs is applied: nodes in distinct components always have a similarity of 0 and we can avoid comparing them.
25-
As a pre-processing step xref:algorithms/wcc.adoc[WCC] is run to obtain the components.
24+
| [[runwcc-{instance}]] runWcc | Boolean | false | yes | If enabled, xref:algorithms/wcc.adoc[WCC] is run as a pre-processing step to obtain the graph components.
25+
This can increase performance for multi-component graphs, since nodes in distinct components always have zero similarity and do not need to be compared.
26+
If the components are already stored in a node property, use the `componentProperty` configuration parameter instead.
2627
| [[component-property-{instance}]] componentProperty | String | null | yes | Node property containing the ID of the graph components. If not available, use the `runWcc` configuration parameter instead.

0 commit comments

Comments
 (0)