Function
case
ratio_function
of
Linear:
Two_Segment:
if
then
else
End if
Exponential:
End case
return
End Function
Pseudocode 2:
Pseudocode for obtaining the optimal revised price (
).