I want to calculate the interaction rate among every entity and also want to count how many they failed to interact with each other for cloud computing scenario. How can I implement this in CloudSim?
This is a technical question and maybe hard for the researcher in this forum to answer your question.
I recommend you to use CloudSim Plus instead of CloudSim. CSP is a modern version of CS with full document, more features, easy to use, understand and easy to modify in case you want.
hello Saif Mahmud Parvez , Just came across your question and I know it is very late to answer but still if the problem is open you may follow.
Every entity in cloudsim interacts with each other based on the basis of message passing using the send() method who's implementation is available in Cloudsim.java. Further these messages are scheduled in the simulation using the simevent.java class instance. Then the processing of futurequeue.java and defferedqueue.java instances were processed and along with that the processevent() method of each entity is responsible for performing the scheduled events/actions/job.
So in case if you are looking for that how many interactions are happening between the entities you should target the processevent() method of each entity and implement your checks before & end of the switch case.
To get an idea about the basic working of the classes mentioned above you may refer to the following article. https://www.cloudsimtutorials.online/cloudsim-simulation-toolkit-an-introduction/