If you have the Best-Fit algorithm available you also have the Worst-Fit algorithm:
simply replace the relevant < operator by the > operator.
kind regards,
Jos
Thanks alot for replying both of you brothers. regarding if i did a research for the worst fit, yeah i did but i got codes in java not c++.
i'll do more researchs tomorrow, wish to find somthing.
I asked for help cause am a senior student and am doing my senior design project in smart home applications, so we as agroup suppose to write a code for the memomry of the OSGi. and we need to simulate the code of worst and best fit to show the difference between these codes and our code. However we still not done with our code.
any help in this field pleeeeease.
and thanks alot :)
Best Regards