1 module Data.Gargantext.Network where
3 import Data.Gargantext.Prelude
6 import Data.Vector as DV
8 type Measure a b c = DM.Map a (DM.Map b c)
11 -- UTCTime Paire Granularity [Candle]
13 -- GargVector Paire Granularity [Candle]
14 type GargVector a b c = DM.Map a ( DM.Map b c)
16 -- GargMatrix Granularity (Paire Paire) [Candle]
17 type GargMatrix a b c d = DM.Map a (FolioVector b c d)
19 -- GargMatrix Granularity (Paire Paire) [Candle]
20 type GargTensor a b c d e = DM.Map a (FolioMatrix b c d e)
24 --data PortGarg = PortGarg { _portFolioParameters :: Parameters
25 -- , _portGargData :: Garg
29 toMeasure :: Granularity -> Paire -> [Candle]
30 -> Measure Granularity Paire Candle
31 toMeasure g c1 c2 cs = DM.fromList [(g,