Skip to main content

Table 3 Score functions.

From: BFL: a node and edge betweenness based fast layout algorithm for large scale networks

1: procedure ENERGY OF(v,currentCoord)

2:    Add energyc3 density(v,currentCoord)

3:    Add energyc4 edgeLength(v,currentCoord)

4:    Add energyc5 edgeCrosses(v,currentCoord)

5:    Return energy

6: end procedure

7: procedure DENSITY(v,currentCoord)

8:    for all node in Set s do

9:       Add density L o g ( N o d e B C [ n o d e ] + 1 ) D i s t a n c e ( v , n o d e ) 2 MathType@MTEF@5@5@+=feaagaart1ev2aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaqcfa4aaSaaaeaacqWGmbatcqWGVbWBcqWGNbWzcqGGOaakcqWGobGtcqWGVbWBcqWGKbazcqWGLbqzcqWGcbGqcqWGdbWqcqGGBbWwcqWGUbGBcqWGVbWBcqWGKbazcqWGLbqzcqGGDbqxcqGHRaWkcqaIXaqmcqGGPaqkaeaacqWGebarcqWGPbqAcqWGZbWCcqWG0baDcqWGHbqycqWGUbGBcqWGJbWycqWGLbqzcqGGOaakcqWG2bGDcqGGSaalcqWGUbGBcqWGVbWBcqWGKbazcqWGLbqzcqGGPaqkdaahaaqabeaacqaIYaGmaaaaaaaa@583B@

10:       if v and node overlap then 11: Return ∞

12:          end if

13:    end for

14:    Return density

15: end procedure

16: procedure EDGE LENGTH(v,currentCoord)

17:    for all Edges of v connected to a destination in S do

18:       Add lengthEdgeBC [v] [destination] * Distance(v, destination)2

19:    end for

20:    Return length

21: end procedure

22: procedure EDGE CROSSES(v,currentCoord)

23:    for all Edges in v connected to a destination in S do

24:       Add crossesCountIntersections(Edges) * EdgeBC [v] [destination] Intersections should be counted with an efficent Ray-Shooting algorithm

25:    end for

26:    Return crosses

27: end procedure

  1. Shows scoring functions for each aesthetic parameter, weighted by betweenness scores.