I'm going to do fuzzy clustering by RSU in veins. For this purpose, I first created a module that inherits TraCIDemo11p and incorporated clustering codes in it. Then I created a method in TraCIDemoRSU11p and I made an object from the clustering class in it, and then called the method of clustering. Of course, I also used " std::cout<<" to this part ,if this part of the code was executed I noticed. I ran the program but unfortunately didn't see what I was writing on the " std::cout<<" and realized that this part of my code wasn't running.
I want to know where should I call my clustering class to do the cluster at the beginning of the simulation?
I need your answer to solve my problem Thanks