Skip to content

Commit

Permalink
[centrality] removed trailing whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
bedupako12mas committed Aug 13, 2024
1 parent 204fbac commit 67ee104
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions docqueries/metrics/betweennessCentrality.result
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ SET client_min_messages TO NOTICE;
SET
/* -- q1 */
SELECT * FROM pgr_betweennessCentrality(
'SELECT id, source, target, cost, reverse_cost
FROM edges where id < 5'
'SELECT id, source, target, cost, reverse_cost
FROM edges where id < 5'
) ORDER BY vid;
vid | centrality
-----+------------
Expand All @@ -21,7 +21,7 @@ SELECT * FROM pgr_betweennessCentrality(
'SELECT id, source, target, cost, reverse_cost
FROM edges where id < 2'
) ORDER BY vid;
vid | centrality
vid | centrality
-----+------------
5 | 0
6 | 0
Expand All @@ -31,7 +31,7 @@ SELECT * FROM pgr_betweennessCentrality(
'SELECT id, source, target, cost, reverse_cost
FROM edges where id < 3'
) ORDER BY vid;
vid | centrality
vid | centrality
-----+------------
5 | 0
6 | 0.5
Expand All @@ -42,7 +42,7 @@ SELECT * FROM pgr_betweennessCentrality(
'SELECT id, source, target, cost, reverse_cost
FROM edges where id < 4'
) ORDER BY vid;
vid | centrality
vid | centrality
-----+--------------------
5 | 0
6 | 0.3333333333333333
Expand All @@ -54,7 +54,7 @@ SELECT * FROM pgr_betweennessCentrality(
'SELECT id, source, target, cost, reverse_cost
FROM edges where id < 5'
) ORDER BY vid;
vid | centrality
vid | centrality
-----+------------
5 | 0
6 | 0.5
Expand All @@ -68,7 +68,7 @@ SELECT * FROM pgr_betweennessCentrality(
'SELECT id, source, target, cost, reverse_cost
FROM edges where id < 2', directed => false
) ORDER BY vid;
vid | centrality
vid | centrality
-----+------------
5 | 0
6 | 0
Expand All @@ -78,7 +78,7 @@ SELECT * FROM pgr_betweennessCentrality(
'SELECT id, source, target, cost, reverse_cost
FROM edges where id < 3', directed => false
) ORDER BY vid;
vid | centrality
vid | centrality
-----+------------
5 | 0
6 | 1
Expand All @@ -89,7 +89,7 @@ SELECT * FROM pgr_betweennessCentrality(
'SELECT id, source, target, cost, reverse_cost
FROM edges where id < 4', directed => false
) ORDER BY vid;
vid | centrality
vid | centrality
-----+--------------------
5 | 0
6 | 0.6666666666666666
Expand All @@ -101,7 +101,7 @@ SELECT * FROM pgr_betweennessCentrality(
'SELECT id, source, target, cost, reverse_cost
FROM edges where id < 5', directed => false
) ORDER BY vid;
vid | centrality
vid | centrality
-----+--------------------
5 | 0
6 | 0.8333333333333333
Expand All @@ -113,9 +113,9 @@ SELECT * FROM pgr_betweennessCentrality(
/* Explicit Cases (directed) */
SELECT * FROM pgr_betweennessCentrality(
'SELECT id, source, target, cost, reverse_cost
FROM edges where id < 2', directed => true
FROM edges where id < 2', directed => true
) ORDER BY vid;
vid | centrality
vid | centrality
-----+------------
5 | 0
6 | 0
Expand All @@ -125,7 +125,7 @@ SELECT * FROM pgr_betweennessCentrality(
'SELECT id, source, target, cost, reverse_cost
FROM edges where id < 3', directed => true
) ORDER BY vid;
vid | centrality
vid | centrality
-----+------------
5 | 0
6 | 0.5
Expand All @@ -136,7 +136,7 @@ SELECT * FROM pgr_betweennessCentrality(
'SELECT id, source, target, cost, reverse_cost
FROM edges where id < 4', directed => true
) ORDER BY vid;
vid | centrality
vid | centrality
-----+--------------------
5 | 0
6 | 0.3333333333333333
Expand All @@ -148,7 +148,7 @@ SELECT * FROM pgr_betweennessCentrality(
'SELECT id, source, target, cost, reverse_cost
FROM edges where id < 5', directed => true
) ORDER BY vid;
vid | centrality
vid | centrality
-----+------------
5 | 0
6 | 0.5
Expand Down

0 comments on commit 67ee104

Please sign in to comment.