Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
haskell-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
158
Issues
158
List
Board
Labels
Milestones
Merge Requests
11
Merge Requests
11
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
gargantext
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
Pipeline
#2227
failed with stage
in 10 minutes and 30 seconds
Changes
1
Pipelines
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
...
@@ -71,9 +71,10 @@ cooc2graph' distance threshold myCooc
myCooc'
=
toIndex
ti
myCooc
myCooc'
=
toIndex
ti
myCooc
data
PartitionMethod
=
Louvain
|
Spinglass
-- | Bac
data
PartitionMethod
=
Louvain
|
Spinglass
-- TODO Bac
--
|
coocurrences graph computation
-- coocurrences graph computation
cooc2graphWith
::
PartitionMethod
cooc2graphWith
::
PartitionMethod
->
Distance
->
Distance
->
Threshold
->
Threshold
...
@@ -167,10 +168,10 @@ doDistanceMap Conditional _threshold myCooc = (distanceMap, toIndex ti myCooc',
...
@@ -167,10 +168,10 @@ doDistanceMap Conditional _threshold myCooc = (distanceMap, toIndex ti myCooc',
distanceMap
=
toIndex
ti
distanceMap
=
toIndex
ti
$
Map
.
fromList
$
Map
.
fromList
--
$
List.take links
-- List.take links
--
$
List.sortOn snd
-- List.sortOn snd
$
HashMap
.
toList
$
HashMap
.
toList
--
$
HashMap.filter (> threshold)
-- HashMap.filter (> threshold)
$
conditional
myCooc
$
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