Help with modify_p function in RED

Keerthi M <[email protected]> Wed, 8 Jul 2015 14:40:17 +0530
Newsgroups gmane.network.simulator.isi
Message-ID <CAKgjbNunc+CGUMOm1njAiiQpue1FvgD14gPbzBUw3uFV1tsBFQ@mail.gmail.com>
Could someone please help me understand the modify_p function in code for
RED. Why is this function called after calculate_p_new

Keerthi