Skip to content

Commit ad50907

Browse files
typo: betweeness -> betweenness
1 parent 4a99970 commit ad50907

7 files changed

Lines changed: 15 additions & 15 deletions

File tree

Config/LAGraph.h.in

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2410,11 +2410,11 @@ int LAGr_SingleSourceShortestPath
24102410
) ;
24112411

24122412
//------------------------------------------------------------------------------
2413-
// LAGr_Betweenness: betweeness centrality metric
2413+
// LAGr_Betweenness: betweenness centrality metric
24142414
//------------------------------------------------------------------------------
24152415

2416-
/** LAGr_Betweenness: betweeness centrality metric. This methods computes an
2417-
* approximation of the betweeness-centrality metric of all nodes in the graph.
2416+
/** LAGr_Betweenness: betweenness centrality metric. This methods computes an
2417+
* approximation of the betweenness-centrality metric of all nodes in the graph.
24182418
* Only a few given source nodes are used for the approximation. This is an
24192419
* Advanced algorithm (G->AT is required).
24202420
*
@@ -2442,7 +2442,7 @@ LAGRAPH_PUBLIC
24422442
int LAGr_Betweenness
24432443
(
24442444
// output:
2445-
GrB_Vector *centrality, // centrality(i): betweeness centrality of i
2445+
GrB_Vector *centrality, // centrality(i): betweenness centrality of i
24462446
// input:
24472447
const LAGraph_Graph G, // input graph
24482448
const GrB_Index *sources, // source vertices to compute shortest paths

experimental/algorithm/LAGr_EdgeBetweennessCentrality.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
// FIXED in v10.2 but may need more work in GraphBLAS.
2222

2323
// LAGr_EdgeBetweennessCentrality: Exact algorithm for computing
24-
// betweeness centrality.
24+
// betweenness centrality.
2525

2626
// This is an Advanced algorithm (no self edges allowed)
2727

@@ -91,7 +91,7 @@ void LG_EBC_add_one_divide_function (double *z, const double *x, const double *y
9191
int LAGr_EdgeBetweennessCentrality
9292
(
9393
// output:
94-
GrB_Matrix *centrality, // centrality(i): betweeness centrality of i
94+
GrB_Matrix *centrality, // centrality(i): betweenness centrality of i
9595
// input:
9696
LAGraph_Graph G, // input graph
9797
GrB_Vector sources, // source vertices to compute shortest paths

experimental/test/LG_check_edgeBetweennessCentrality.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ int LG_check_edgeBetweennessCentrality
338338
if (print_timings)
339339
{
340340
tt = LAGraph_WallClockTime ( ) - tt ;
341-
printf ("LG_check_edgeBetweenessCentrality time: %g sec\n", tt) ;
341+
printf ("LG_check_edgeBetweennessCentrality time: %g sec\n", tt) ;
342342
tt = LAGraph_WallClockTime ( ) ;
343343
}
344344

include/LAGraph.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2410,11 +2410,11 @@ int LAGr_SingleSourceShortestPath
24102410
) ;
24112411

24122412
//------------------------------------------------------------------------------
2413-
// LAGr_Betweenness: betweeness centrality metric
2413+
// LAGr_Betweenness: betweenness centrality metric
24142414
//------------------------------------------------------------------------------
24152415

2416-
/** LAGr_Betweenness: betweeness centrality metric. This methods computes an
2417-
* approximation of the betweeness-centrality metric of all nodes in the graph.
2416+
/** LAGr_Betweenness: betweenness centrality metric. This methods computes an
2417+
* approximation of the betweenness-centrality metric of all nodes in the graph.
24182418
* Only a few given source nodes are used for the approximation. This is an
24192419
* Advanced algorithm (G->AT is required).
24202420
*
@@ -2442,7 +2442,7 @@ LAGRAPH_PUBLIC
24422442
int LAGr_Betweenness
24432443
(
24442444
// output:
2445-
GrB_Vector *centrality, // centrality(i): betweeness centrality of i
2445+
GrB_Vector *centrality, // centrality(i): betweenness centrality of i
24462446
// input:
24472447
const LAGraph_Graph G, // input graph
24482448
const GrB_Index *sources, // source vertices to compute shortest paths

include/LAGraphX.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1310,7 +1310,7 @@ LAGRAPHX_PUBLIC
13101310
int LAGr_EdgeBetweennessCentrality
13111311
(
13121312
// output:
1313-
GrB_Matrix *centrality, // centrality(i): betweeness centrality of i
1313+
GrB_Matrix *centrality, // centrality(i): betweenness centrality of i
13141314
// input:
13151315
LAGraph_Graph G, // input graph
13161316
GrB_Vector sources, // source vertices to compute shortest paths (if NULL or empty, use all vertices)

src/algorithm/LAGr_Betweenness.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
//------------------------------------------------------------------------------
1818

1919
// LAGr_Betweenness: Batch algorithm for computing
20-
// betweeness centrality, using push-pull optimization.
20+
// betweenness centrality, using push-pull optimization.
2121

2222
// This is an Advanced algorithm (G->AT is required).
2323

@@ -87,7 +87,7 @@
8787
int LAGr_Betweenness
8888
(
8989
// output:
90-
GrB_Vector *centrality, // centrality(i): betweeness centrality of i
90+
GrB_Vector *centrality, // centrality(i): betweenness centrality of i
9191
// input:
9292
LAGraph_Graph G, // input graph
9393
const GrB_Index *sources, // source vertices to compute shortest paths

src/test/test_Betweenness.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ void test_bc (void)
277277
}
278278

279279
//------------------------------------------------------------------------------
280-
// test_bc_brutal: test BetweenessCentraliy with brutal malloc debugging
280+
// test_bc_brutal: test BetweennessCentrality with brutal malloc debugging
281281
//------------------------------------------------------------------------------
282282

283283
#if LG_BRUTAL_TESTS

0 commit comments

Comments
 (0)