For implementation of Willingness to pay, Virtual Queue and Load Based Marking algorithms look at
http://tracer.ucnet.uoc.gr/wtp/