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

[Org] Gargantext.Core.Methods

parent 0f6c2e5b
...@@ -14,7 +14,7 @@ Références: ...@@ -14,7 +14,7 @@ Références:
-} -}
module Gargantext.Core.Viz.Graph.Proxemy module Gargantext.Core.Methods.Graph.BAC.Proxemy
where where
--import Debug.SimpleReflect --import Debug.SimpleReflect
......
...@@ -10,7 +10,7 @@ Portability : POSIX ...@@ -10,7 +10,7 @@ Portability : POSIX
-} -}
module Gargantext.Core.Viz.Graph.Louvain module Gargantext.Core.Methods.Graph.Louvain
where where
import Gargantext.Prelude import Gargantext.Prelude
......
...@@ -26,12 +26,11 @@ import qualified Data.Map as DM ...@@ -26,12 +26,11 @@ import qualified Data.Map as DM
import Data.Maybe (catMaybes) import Data.Maybe (catMaybes)
import Data.List (concat, sortOn) import Data.List (concat, sortOn)
import Data.Graph.Clustering.Louvain.Utils (LouvainNode(..)) 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 type Bridgeness = Double
bridgeness :: Bridgeness bridgeness :: Bridgeness
-> [LouvainNode] -> [LouvainNode]
-> Map (LouvainNodeId, LouvainNodeId) Double -> Map (LouvainNodeId, LouvainNodeId) Double
......
...@@ -6,8 +6,9 @@ Maintainer : team@gargantext.org ...@@ -6,8 +6,9 @@ Maintainer : team@gargantext.org
Stability : experimental Stability : experimental
Portability : POSIX Portability : POSIX
- First written by Bruno Gaume in Python (see below for details) - Result of Pyremiel 2019
- Then written by Alexandre Delanoë in Haskell (see below for details) - 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: # By Bruno Gaume:
def fast_maximal_cliques(g): def fast_maximal_cliques(g):
......
...@@ -27,7 +27,7 @@ import Gargantext.Core.Viz.Graph.Bridgeness (bridgeness) ...@@ -27,7 +27,7 @@ import Gargantext.Core.Viz.Graph.Bridgeness (bridgeness)
import Gargantext.Core.Viz.Graph.Distances (Distance(..), measure) import Gargantext.Core.Viz.Graph.Distances (Distance(..), measure)
import Gargantext.Core.Viz.Graph.Index (createIndices, toIndex, map2mat, mat2map, Index) import Gargantext.Core.Viz.Graph.Index (createIndices, toIndex, map2mat, mat2map, Index)
import Gargantext.Core.Viz.Graph.IGraph (mkGraphUfromEdges) 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 GHC.Float (sin, cos)
import qualified IGraph as Igraph import qualified IGraph as Igraph
import IGraph.Random -- (Gen(..)) 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