Commit e4f4b071 authored by Alexandre Delanoë's avatar Alexandre Delanoë

[Org] Gargantext.Core.Methods

parent 0f6c2e5b
......@@ -14,7 +14,7 @@ Références:
-}
module Gargantext.Core.Viz.Graph.Proxemy
module Gargantext.Core.Methods.Graph.BAC.Proxemy
where
--import Debug.SimpleReflect
......
......@@ -10,7 +10,7 @@ Portability : POSIX
-}
module Gargantext.Core.Viz.Graph.Louvain
module Gargantext.Core.Methods.Graph.Louvain
where
import Gargantext.Prelude
......
......@@ -26,12 +26,11 @@ import qualified Data.Map as DM
import Data.Maybe (catMaybes)
import Data.List (concat, sortOn)
import Data.Graph.Clustering.Louvain.Utils (LouvainNode(..))
import Gargantext.Core.Viz.Graph.Louvain (LouvainNodeId, CommunityId, nodeId2comId)
import Gargantext.Core.Methods.Graph.Louvain (LouvainNodeId, CommunityId, nodeId2comId)
type Bridgeness = Double
bridgeness :: Bridgeness
-> [LouvainNode]
-> Map (LouvainNodeId, LouvainNodeId) Double
......
......@@ -6,8 +6,9 @@ Maintainer : team@gargantext.org
Stability : experimental
Portability : POSIX
- First written by Bruno Gaume in Python (see below for details)
- Then written by Alexandre Delanoë in Haskell (see below for details)
- Result of Pyremiel 2019
- First written by Bruno Gaume in Python (see below for details)
- Then written by Alexandre Delanoë in Haskell (see below for details)
# By Bruno Gaume:
def fast_maximal_cliques(g):
......
......@@ -27,7 +27,7 @@ import Gargantext.Core.Viz.Graph.Bridgeness (bridgeness)
import Gargantext.Core.Viz.Graph.Distances (Distance(..), measure)
import Gargantext.Core.Viz.Graph.Index (createIndices, toIndex, map2mat, mat2map, Index)
import Gargantext.Core.Viz.Graph.IGraph (mkGraphUfromEdges)
import Gargantext.Core.Viz.Graph.Proxemy (confluence)
import Gargantext.Core.Methods.Graph.BAC.Proxemy (confluence)
import GHC.Float (sin, cos)
import qualified IGraph as Igraph
import IGraph.Random -- (Gen(..))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment