How to do Virtual machine and Task Scheduling in CloudSim

In cloud computing, scheduling is an exciting topic. The cloudsim simulation toolkit framework has addressed this use case and provided a set of class hierarchy which specifies the basic scheduling mechanism w.r.t. The timeshare as well as spaceshare. This article explains regarding same and how it can be extended.