VPM-B Project - Report

Robert Helling helling at atdotde.de
Thu May 21 04:34:25 PDT 2015


Hi Jan,

> On 21.05.2015, at 11:32, Jan Darowski <jan.darowski at gmail.com> wrote:
> 
> About the Schreiner: yes, it is the same as Haldane on small segments.
> I just want to keep it the same way as it's in the original algorithm
> (also existing implementation I will test against, works on bigger
> segments).

I am pretty sure it will make no difference in the resulting plans. But let’s see (eventually, we should stick to Haldane since it’s cheaper computationally and at least for the NDL and time to surface calculation calculations speed is significant for the user experience of snappiness).

> 
> In fact most of the deco functions are declared in dive.h, when there
> is something useful for both algorithms, I reuse it (mainly small
> functions like plan_add_segment() etc.). But now, the main loop for
> the current deco is inside planner. I think the planner should be
> algorithm independent. So later, some things should be rearranged (for
> better code structure).

Have a look at how the recreational mode is done (where the plan stays for a maximal time at the last depth) as opposed to the usual plan. I would presume that vpm would fit in here in a similar way (maybe after breaking the by now quite long function plan(…) into smaller pieces).

> 
> One question: do we want to have both algorithms executed on every
> diveplan or do we want to choose at some level that only VPM-B or
> Buehlmann will be calculated? To be honest I've been thinking about
> the second solution all the time but now it looks like the first is
> better...


I don’t know. My original thought was to have something like a checkbox in the planner UI to switch between algorithms (probably more like a ComboBox) so the user can switch algorithms and directly compare the resulting plan. But maybe superimposing them would not be bad either (that would need some heavier adjustments to the profile code).

Best
Robert

PS: Will be offline for the rest of the day.
--
.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oO
Robert C. Helling     Elite Master Course Theoretical and Mathematical Physics
                      Scientific Coordinator
                      Ludwig Maximilians Universitaet Muenchen, Dept. Physik
                      Phone: +49 89 2180-4523  Theresienstr. 39, rm. B339
                      http://www.atdotde.de

Enhance your privacy, use cryptography! My PGP keys have fingerprints
A9D1 A01D 13A5 31FA 6515  BB44 0820 367C 36BC 0C1D    and
DCED 37B6 251C 7861 270D  5613 95C7 9D32 9A8D 9B8F





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150521/6997b9b1/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150521/6997b9b1/attachment-0001.sig>


More information about the subsurface mailing list