簡體   English   中英

使用ns3在C ++中構建拓撲

[英]Building topology in C++ using ns3

誰能告訴我為什么在運行用於在ns3.24中構建拓撲的程序后收到此消息的原因?

assert failed. cond="c.GetN () == 2", file=../src/point-to-point/helper/point-to-point-helper.cc, line=220
terminate called without an active exception

謝謝。

嘗試檢查節點號,安裝pointTopoint必須在兩個節點中完成。 如下所示:

nodes.Create(2)

如果嘗試在不同數量的節點上安裝,可能會導致此錯誤。

BR

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM