unordered-graphs-0.1.0.1: Graph library using unordered-containers

Copyright(c) Ivan Lazar Miljenovic
LicenseMIT
MaintainerIvan.Miljenovic@gmail.com
Safe HaskellNone
LanguageHaskell2010

Data.Graph.Unordered.Algorithms.Clustering

Description

 

Synopsis

Documentation

bgll :: (ValidGraph et n, EdgeMergeable et, Fractional el, Ord el) => Graph et n nl el -> [[n]] Source #

Find communities in weighted graphs using the algorithm by Blondel, Guillaume, Lambiotte and Lefebvre in their paper Fast unfolding of communities in large networks.

class EdgeType et => EdgeMergeable et Source #

Minimal complete definition

applyOpposite

Instances

EdgeMergeable UndirEdge Source # 

Methods

applyOpposite :: Fractional el => Proxy (* -> *) UndirEdge -> el -> el

EdgeMergeable DirEdge Source # 

Methods

applyOpposite :: Fractional el => Proxy (* -> *) DirEdge -> el -> el