1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Cumulative sum of increase/decrease over time

Discussion in 'Computer Science' started by frinux, Oct 8, 2018.

  1. frinux

    frinux Guest

    as a backend developer, I am not very aware of the existing algorithm names and method, sorry for the lack of "rigor" of this question.

    I am looking for an efficient way to handle a calculation. I have lots of timestamped events, representing loading and unloading of trucks. I need to construct the filling rate of these trucks over time.

    This picture represents data and the wanted result. Keep in mind that the dataset is quite huge, and lots of events can overlap, even starting and ending at the same time.

    [​IMG]

    I'm looking ideally for an agnostic algorithm or method.

    Thanks a lot for your help

    Login To add answer/comment
     

Share This Page