The akgorithm RRP is used to reduce the number of discretization points calculated by DDP.
I cannot find psuedo code for this.
The paper describes the RRP as:

L is the total length.
P is the discretization points
P with hat is the raster points
s ?????
I cannot see how to implement this. It looks like it simply converts the P points to the same number of points with values of how much smaller they originals are then the total length. There must be more to it than that.
And what is s?
The akgorithm RRP is used to reduce the number of discretization points calculated by DDP.
I cannot find psuedo code for this.
The paper describes the RRP as:
L is the total length.
P is the discretization points
P with hat is the raster points
s ?????
I cannot see how to implement this. It looks like it simply converts the P points to the same number of points with values of how much smaller they originals are then the total length. There must be more to it than that.
And what is s?