Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
haskell-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Przemyslaw Kaminski
haskell-gargantext
Commits
0322ffc8
Commit
0322ffc8
authored
Dec 06, 2021
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[DOC] fix comments for haddock documentation
parent
9dbb197d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
Tools.hs
src/Gargantext/Core/Viz/Graph/Tools.hs
+6
-5
No files found.
src/Gargantext/Core/Viz/Graph/Tools.hs
View file @
0322ffc8
...
...
@@ -71,9 +71,10 @@ cooc2graph' distance threshold myCooc
myCooc'
=
toIndex
ti
myCooc
data
PartitionMethod
=
Louvain
|
Spinglass
-- | Bac
data
PartitionMethod
=
Louvain
|
Spinglass
-- TODO Bac
--
|
coocurrences graph computation
-- coocurrences graph computation
cooc2graphWith
::
PartitionMethod
->
Distance
->
Threshold
...
...
@@ -167,10 +168,10 @@ doDistanceMap Conditional _threshold myCooc = (distanceMap, toIndex ti myCooc',
distanceMap
=
toIndex
ti
$
Map
.
fromList
--
$
List.take links
--
$
List.sortOn snd
-- List.take links
-- List.sortOn snd
$
HashMap
.
toList
--
$
HashMap.filter (> threshold)
-- HashMap.filter (> threshold)
$
conditional
myCooc
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment