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
0c0bc010
Commit
0c0bc010
authored
Jan 08, 2019
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[TYPES][PHYLO] removing Upper first letter.
parent
a78d405e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
Phylo.hs
src/Gargantext/Viz/Phylo.hs
+14
-14
No files found.
src/Gargantext/Viz/Phylo.hs
View file @
0c0bc010
...
@@ -43,9 +43,9 @@ import Gargantext.Prelude
...
@@ -43,9 +43,9 @@ import Gargantext.Prelude
-- Ngrams : list of all (possible) terms contained in the phylomemy (with their id)
-- Ngrams : list of all (possible) terms contained in the phylomemy (with their id)
-- Steps : list of all steps to build the phylomemy
-- Steps : list of all steps to build the phylomemy
data
Phylo
=
data
Phylo
=
Phylo
{
_phylo_
D
uration
::
(
Start
,
End
)
Phylo
{
_phylo_
p
uration
::
(
Start
,
End
)
,
_phylo_
N
grams
::
[
Ngram
]
,
_phylo_
n
grams
::
[
Ngram
]
,
_phylo_
P
eriods
::
[
PhyloPeriod
]
,
_phylo_
p
eriods
::
[
PhyloPeriod
]
}
}
deriving
(
Generic
)
deriving
(
Generic
)
...
@@ -60,8 +60,8 @@ type Ngram = (NgramsId, Text)
...
@@ -60,8 +60,8 @@ type Ngram = (NgramsId, Text)
-- Period: tuple (start date, end date) of the step of the phylomemy
-- Period: tuple (start date, end date) of the step of the phylomemy
-- Levels: levels of granularity
-- Levels: levels of granularity
data
PhyloPeriod
=
data
PhyloPeriod
=
PhyloPeriod
{
_phylo_
P
eriodId
::
PhyloPeriodId
PhyloPeriod
{
_phylo_
p
eriodId
::
PhyloPeriodId
,
_phylo_
P
eriodLevels
::
[
PhyloLevel
]
,
_phylo_
p
eriodLevels
::
[
PhyloLevel
]
}
}
deriving
(
Generic
)
deriving
(
Generic
)
...
@@ -74,8 +74,8 @@ type PhyloPeriodId = (Start, End)
...
@@ -74,8 +74,8 @@ type PhyloPeriodId = (Start, End)
-- Level 1: First level of clustering
-- Level 1: First level of clustering
-- Level N: Nth level of clustering
-- Level N: Nth level of clustering
data
PhyloLevel
=
data
PhyloLevel
=
PhyloLevel
{
_phylo_
L
evelId
::
PhyloLevelId
PhyloLevel
{
_phylo_
l
evelId
::
PhyloLevelId
,
_phylo_
L
evelGroups
::
[
PhyloGroup
]
,
_phylo_
l
evelGroups
::
[
PhyloGroup
]
}
}
deriving
(
Generic
)
deriving
(
Generic
)
...
@@ -87,15 +87,15 @@ type PhyloLevelId = (PhyloPeriodId, Int)
...
@@ -87,15 +87,15 @@ type PhyloLevelId = (PhyloPeriodId, Int)
-- Period Parents|Childs: weighted link to Parents|Childs (Temporal Period axis)
-- Period Parents|Childs: weighted link to Parents|Childs (Temporal Period axis)
-- Level Parents|Childs: weighted link to Parents|Childs (Level Granularity axis)
-- Level Parents|Childs: weighted link to Parents|Childs (Level Granularity axis)
data
PhyloGroup
=
data
PhyloGroup
=
PhyloGroup
{
_phylo_
G
roupId
::
PhyloGroupId
PhyloGroup
{
_phylo_
g
roupId
::
PhyloGroupId
,
_phylo_
G
roupLabel
::
Maybe
Text
,
_phylo_
g
roupLabel
::
Maybe
Text
,
_phylo_
G
roupNgrams
::
[
NgramsId
]
,
_phylo_
g
roupNgrams
::
[
NgramsId
]
,
_phylo_
G
roupPeriodParents
::
[
Edge
]
,
_phylo_
g
roupPeriodParents
::
[
Edge
]
,
_phylo_
G
roupPeriodChilds
::
[
Edge
]
,
_phylo_
g
roupPeriodChilds
::
[
Edge
]
,
_phylo_
G
roupLevelParents
::
[
Edge
]
,
_phylo_
g
roupLevelParents
::
[
Edge
]
,
_phylo_
G
roupLevelChilds
::
[
Edge
]
,
_phylo_
g
roupLevelChilds
::
[
Edge
]
}
}
deriving
(
Generic
)
deriving
(
Generic
)
...
...
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