Commit Graph

572 Commits

Author SHA1 Message Date
Émilie Feral
c19ecaeebe [apps] In curve view, avoid to reload the whole view when reloading
cursor

Change-Id: Ie8c0e100159201cc6b11122eeb567c68092a7b06
2017-01-15 20:09:18 +01:00
Émilie Feral
33ba6d2fa7 [apps] In curve view range, improve constant naming
Change-Id: Ibad771a35d1130f41ef57ba323fd401ff3ea4340
2017-01-15 20:08:01 +01:00
Émilie Feral
fbdcb8cef3 [apps] Sort out private and protected methods
Change-Id: I7cd1965388ad002c9e5516fa122cfe637a883506
2017-01-15 20:07:59 +01:00
Émilie Feral
1c5c48a520 [apps] clean
Change-Id: I4bd76f56be236dd3f1d5632403e36d1ecbd39436
2017-01-15 20:07:11 +01:00
Émilie Feral
c35d95bb83 [apps/probability] Handle all edge cases
Change-Id: Ic2fb06ef28498c3a9bfcd3acbce7458cde248403
2017-01-15 20:05:00 +01:00
Émilie Feral
d6e0ff3241 [apps] in editable cell table view controller correct weird coding
Change-Id: I8cd59777a6b2d3ce6d2220284eca65866223aba0
2017-01-15 20:04:59 +01:00
Émilie Feral
6402e5c647 [apps] Clean
Change-Id: Iddd7cbdb4a396a86ec5e86731503b6927022eee7
2017-01-15 20:04:59 +01:00
Émilie Feral
a74eef903a [poincare] Redesign Float::convertTotext
Change-Id: Id27d9472147b5e443ee296feca891392fad735c8
2017-01-15 20:04:59 +01:00
Émilie Feral
245400015f [apps/home][apps/regression] Add comments to explain how we prevent
selecting unwanted cell.

Change-Id: I5c4379b9f4b721a123da7c81d1609f082847affd
2017-01-15 20:04:59 +01:00
Émilie Feral
d80272f695 [apps] In curve view, correct draw histogram
Change-Id: I33e78200f551a20fd66df24c2f1dfdedf8488491
2017-01-15 20:04:59 +01:00
Émilie Feral
1ade2c346f [apps] In interactive curve view range, avoid setting impossible value
(xmin>xmax...)

Change-Id: I1b8c8f913a09599de5897227a23e9986052fef0c
2017-01-15 20:04:59 +01:00
Émilie Feral
ca1b61c97a [apps] Avoid switch() {} when possible.
Change-Id: I4e050dcb761fe5ca6a12af375537f3554f324f68
2017-01-15 20:04:59 +01:00
Émilie Feral
1ed3b7effc [apps] In curve view delete obsolet warning
Change-Id: Ieb98f9bcaac5bdc725190a3c313dfe38d5d7f9bf
2017-01-15 20:04:58 +01:00
Émilie Feral
40482b89c6 [apps/statistics] In box view, define a enum class for quantile
Change-Id: Id213508fb36027e7521152cb74e724b4ed2f4322
2017-01-15 20:04:58 +01:00
Émilie Feral
9c6100d5dc [apps/statistics] Correct brace error
Change-Id: I31f5337f2b46b8a1f5e410df9dbb4bb6ec2e4555
2017-01-15 20:04:58 +01:00
Émilie Feral
b49a27ac38 [apps/statistics] Delete absurd comment
Change-Id: I22de1ad346e72f6cb4309c946788e885bacb45ad
2017-01-15 20:04:58 +01:00
Émilie Feral
52cfe22179 [apps] In curve view, avoid white vertical lines in integral curves due
to pixel rounding

Change-Id: I936be9915a9782388b62ed8776d115fde5471cc7
2017-01-15 20:04:58 +01:00
Émilie Feral
ea96360388 [apps/statistics] Correct language typo
Change-Id: Ib8b3257abae192cefbc7d03bef36d3413a8b7574
2017-01-15 20:04:58 +01:00
Émilie Feral
f4a580884b [apps/graph] Use the poincare derivative calculation to compute function
derivative

Change-Id: I2b4d9b443935ad789e898e253a22f9d2ab652b6a
2017-01-15 20:04:58 +01:00
Émilie Feral
6e01c55f1a [poincare] Move the xcontext to poincare to be used by derivative object
Change-Id: Ib950c7db7d864e0ff56c7964f4591bce180d627d
2017-01-10 13:44:06 +01:00
Émilie Feral
3536607f7a [apps] In curve view, avoid bars overlapping when drawing histograms
Change-Id: I816dad350c92b47f7f912223bdc0cc5230acd3b4
2017-01-10 13:43:58 +01:00
Émilie Feral
a827558b64 [apps] In curve view, correct programming style
Change-Id: Idff43411da499ed17ced6d18475f11eff01051d2
2017-01-10 13:35:25 +01:00
Émilie Feral
e9e171935c [apps] Use crc32 methods in models
Change-Id: I2c0588eef90c8015d13fd7aed87a4b615243fe5c
2017-01-10 13:35:25 +01:00
Émilie Feral
affda5eae9 [apps] Modular reimplementation of application models (stores and
ranges) and of curve views/curve view controllers.

Change-Id: If4ca9bf1bec024917ef540a3fc7baefa8700f7ba
2017-01-10 13:35:19 +01:00
Émilie Feral
6e9528103b [apps] Factorize banner view implementation.
Change-Id: Iedc4350d2bed0f1b1c597c2492e028293f58d5f2
2017-01-09 15:08:56 +01:00
Émilie Feral
b17222112a [apps] Change model data -> float pair store.
Change-Id: I72d5291f3168f2588e2a955476724ce95e32e6f5
2017-01-09 15:08:56 +01:00
Émilie Feral
59e3af0571 [apps] In curve view, programming style to avoid indentation.
Change-Id: I54ea1f251280742c03d05c27883bcf0e09b06cef
2017-01-09 15:08:56 +01:00
Émilie Feral
be247b0392 [apps/graph] When computing derivative function at abscissa, round the
result

Change-Id: I23817dda6ff9fe335e819086ecad5119eba1d948
2017-01-09 15:08:56 +01:00
Émilie Feral
78198a5dcf [escher] In metric, add a constant: ParameterCellHeight
Change-Id: I6d90c9083d3d6de2308e86800b39104af5fc0457
2017-01-09 15:08:56 +01:00
Émilie Feral
d731d20100 [apps] In data controller,display the data parameter page when clicking
on the first row

Change-Id: Ic2638b2d570e22170a60b32b7365e28de5e40619
2017-01-09 15:08:56 +01:00
Émilie Feral
14abf0f190 [apps] Create a class data parameter controller
Change-Id: Ic36538a618f40a7a31b0a537196d0f403598b0c9
2017-01-09 15:08:56 +01:00
Émilie Feral
e0b56e6588 [apps] add methods to the abstract model "data"
Change-Id: I24993d6ffcee9b030716c310f48260a78fe61546
2017-01-09 15:08:56 +01:00
Émilie Feral
eb976ad0cf [apps/graph/values] Enable to delete row by row
Change-Id: I25b14091711af3d7afd64413839a2664fc98a051
2017-01-09 15:08:56 +01:00
Émilie Feral
176cd6d539 [apps/regression] Avoid displaying the regression graph in there is not
enough data for a regression

Change-Id: If0f65e2a377fb3f91d008d21812e318e92583548
2017-01-09 15:08:56 +01:00
Émilie Feral
12fbbb3dca [apps] In editable cell table view controller, jump to next cell when finish editing
Change-Id: I56221d4b982b8688239d8b7bef1388d4ce1c8cec
2017-01-09 15:08:56 +01:00
Émilie Feral
066878e4a7 [apps/regression] Display the goto parameter page from the prediction
parameter page

Change-Id: I942873a29e78af76edd349467c5d3e9155b27fb6
2017-01-09 15:08:56 +01:00
Émilie Feral
3e7a46db86 [apps/regression] Create a class go to parameter controller
Change-Id: I941a8c338f6530f0a5470ed79829323a8dc27262
2017-01-09 15:08:56 +01:00
Émilie Feral
7e66949900 [apps/regression] Add methods in data model to set the cursor position
at a specific abscissa/ordinate

Change-Id: I95cde32b36405f57e3e6ccfa37e6e0cda70da59a
2017-01-09 15:08:56 +01:00
Émilie Feral
7d799057fd [apps/regression] In graph view, avoid the window to be initialized with
a null area

Change-Id: If493fcd357cfa5e3d7edd595660681d2c987dacd
2017-01-09 15:08:56 +01:00
Émilie Feral
07cd605234 [apps/regression] Display the prediction parameter page when clicking on
the regression curve

Change-Id: Iac2750ac855a285d607edeac0da5d82b4ad674a3
2017-01-09 15:08:55 +01:00
Émilie Feral
09e6e511dc [apps/regression] Create a class prediction parameter controller
Change-Id: I135096e00263cc427974870025cc310c6420dc33
2017-01-09 15:08:55 +01:00
Émilie Feral
498aa77268 [apps/graph/graph][apps] Factorize methods to draw grid in curve views
to be used in regression app

Change-Id: I5c76c3bb6eb5bdccf799098278734a5c8ad7c32d
2017-01-09 15:08:55 +01:00
Émilie Feral
029b75793d [apps/regression] In graph view, display a specific legend when the mean
dot is selected

Change-Id: Ib55101435c1205709ea5a17616e7daa09ae388bc
2017-01-09 15:08:55 +01:00
Émilie Feral
3b7f0ae1b5 [apps/regression] In graph view, handle edge cases for cursor selection
Change-Id: Ibeeb32696232b1cff25f36301a7d6685f090a69b
2017-01-09 15:08:55 +01:00
Émilie Feral
4c5016006a [apps/regression] display the initialisation parameter page when
clicking on the right button

Change-Id: I7bf5c9752ab5e63a1be96d5993d305ba86b87a72
2017-01-09 15:08:55 +01:00
Émilie Feral
5c61c25f3a [apps/regression] Create a initialisation parameter page
Change-Id: Ie7487094923ecb900f69517b693d3acef11c30bb
2017-01-09 15:08:55 +01:00
Émilie Feral
ff6d0a64bd [apps/graph/grpah] Correct implementation of the default initialisation
parameter page

Change-Id: If25c5b6fd80a78017386522c693ec6389154faab
2017-01-09 15:08:55 +01:00
Émilie Feral
1067dc0c4e [apps/graph/graph][apps/regression] Make specific default window
parameters for the 2 apps

Change-Id: Id592b6ec19e4283116aea47da09b37764e7c9643
2017-01-09 15:08:55 +01:00
Émilie Feral
23f2ddaced [apps] Factorize the graph view controller of regression and graph apps
Change-Id: Ib586376c3afc0738ea39dd86fb693ec08811281e
2017-01-09 15:08:55 +01:00
Émilie Feral
e148656460 [apps/graph/graph] Avoid float comparison when shifting the origin
Change-Id: I7a420be7e2e151ffb29dc735af340cd3bae53923
2017-01-09 15:08:55 +01:00