Search code examples
omnet++veins

The difference between [*] and [*0] in veins?


I know that [*] represents all vehicle, but what's the meaning of [*0] in OMNeT++?

*.node[*0].veinsmobility
*.node[*].veinsmobility

Solution

  • node[*0] means the node whose index ends with 0, i.e. node[0], node[10], node[20], etc.
    Reference: Simulation Manual - 10.3.1 Using Wildcard Patterns