measureImpulses
Used to support dirac impulses in behaviors.
measureImpulses
returns the part of the integral of the behavior belonging to dirac impulses in the range time, time + dt, and should be used in the implementation of the integral of behaviors.