Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
653 views
in Technique[技术] by (71.8m points)

omnet++ - 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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...