User Tools

Site Tools


chicoutimi_2016:simmelian_backbone_de_bobo_nick

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
chicoutimi_2016:simmelian_backbone_de_bobo_nick [2016/05/20 19:48]
melancon [L'algorithme]
chicoutimi_2016:simmelian_backbone_de_bobo_nick [2016/05/20 20:00] (current)
melancon [L'algorithme]
Line 202: Line 202:
     # run the code from the original graph     # run the code from the original graph
     # produces a distinct subgraph each time     # produces a distinct subgraph each time
-    ​dissimilarity = graph.getDoubleProperty('​dissimilarity_euclidean'​) +    dissimilarity = graph.getDoubleProperty('​dissimilarity_euclidean'​) 
-    sb = Simmelian(graph,​ 'dissimilarity_euclidean')+    max_diss = dissimilarity.getEdgeMax() 
 +    similarity = graph.getDoubleProperty('​similarity'​) 
 +    for e in graph.getEdges():​ 
 +    similarity[e] = max_diss - dissimilarity[e] 
 +    sb = Simmelian(graph,​ 'similarity')
     max_rank = 10     max_rank = 10
     min_redundancy = 0.25     min_redundancy = 0.25
/net/html/perso/melancon/Visual_Analytics_Course/data/pages/chicoutimi_2016/simmelian_backbone_de_bobo_nick.txt · Last modified: 2016/05/20 20:00 by melancon