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
160
Issues
160
List
Board
Labels
Milestones
Merge Requests
14
Merge Requests
14
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
c2ec2018
Verified
Commit
c2ec2018
authored
Jan 18, 2023
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into dev-hackathon-fixes
parents
2fd0c7da
3985d942
Pipeline
#3593
failed with stage
in 72 minutes and 3 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
5 deletions
+14
-5
CHANGELOG.md
CHANGELOG.md
+6
-0
gargantext.cabal
gargantext.cabal
+1
-1
package.yaml
package.yaml
+1
-1
Bridgeness.hs
src/Gargantext/Core/Viz/Graph/Bridgeness.hs
+6
-3
No files found.
CHANGELOG.md
View file @
c2ec2018
## Version 0.0.6.9.1
*
[
FRONT
][
FIX
][
terms
]
resolve flickering issue on children
## Version 0.0.6.9.0
*
[
BACK
][
FIX
]
Advanced Bridgeness fix
*
[
FRONT
][
FEAT
]
Ratings in Document each
*
[
FRONT
][
FIX
]
Ngrams Table, removing useless columns
*
[
BACK
][
FIX
]
Duplicates
*
[
FRONT
][
FIX
]
Node Selection Indicator
...
...
gargantext.cabal
View file @
c2ec2018
...
...
@@ -5,7 +5,7 @@ cabal-version: 1.12
-- see: https://github.com/sol/hpack
name: gargantext
version:
0.0.6.9.0
version:
0.0.6.9.1
synopsis: Search, map, share
description: Please see README.md
category: Data
...
...
package.yaml
View file @
c2ec2018
...
...
@@ -6,7 +6,7 @@ name: gargantext
# | | | +----- Layers * : New versions with API additions
# | | | | +--- Layers * : New versions without API breaking changes
# | | | | |
version
:
'
0.0.6.9.
0
'
version
:
'
0.0.6.9.
1
'
synopsis
:
Search, map, share
description
:
Please see README.md
category
:
Data
...
...
src/Gargantext/Core/Viz/Graph/Bridgeness.hs
View file @
c2ec2018
...
...
@@ -61,12 +61,15 @@ type Confluence = Map (NodeId, NodeId) Double
bridgeness
::
Bridgeness
->
Map
(
NodeId
,
NodeId
)
Double
->
Map
(
NodeId
,
NodeId
)
Double
bridgeness
(
Bridgeness_Advanced
_sim
c
)
m
=
Map
.
fromList
bridgeness
(
Bridgeness_Advanced
sim
c
)
m
=
Map
.
fromList
$
List
.
filter
(
\
x
->
if
sim
==
Conditional
then
snd
x
>
0.2
else
snd
x
>
0.02
)
$
map
(
\
(
ks
,
(
v1
,
_v2
))
->
(
ks
,
v1
))
-- $ List.take (if sim == Conditional then 2*n else 3*n)
$
List
.
sortOn
(
Down
.
(
snd
.
snd
))
--
$ List.sortOn (Down . (snd . snd))
$
Map
.
toList
$
trace
(
"bridgeness3 m c"
<>
show
(
m
,
c
))
$
Map
.
intersectionWithKey
(
\
k
v1
v2
->
trace
(
"intersectionWithKey "
<>
(
show
(
k
,
v1
,
v2
)))
(
v1
,
v2
))
m
c
$
trace
(
"bridgeness3 m c"
<>
show
(
m
,
c
))
$
Map
.
intersectionWithKey
(
\
k
v1
v2
->
trace
(
"intersectionWithKey "
<>
(
show
(
k
,
v1
,
v2
)))
(
v1
,
v2
))
m
c
{-
where
...
...
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