私は OMNET++ を使用してロケーション プライバシーのプロジェクトに取り組んでいます。最近、2 つのノード (Tic-Toc ゲームなど) のネットワークを開発し、それをユーザーの要件に応じて 2 ノードから n ノードまで変化する実際のネットワークに変換したいと考えています。
これは 2 つのノードの構造です。
simple Txc1
{
gates:
input in;
output out;
}
`enter code here`// Two instances (tic and toc) of Txc1 connected both ways.
// Tic and toc will pass messages to one another.
//
network Tictoc1
{
submodules:
tic: Txc1;
toc: Txc1;
connections:
tic.out --> { delay = 100ms; } --> toc.in;
tic.in <-- { delay = 100ms; } <-- toc.out;
}
nノードに対してそれを行うにはどうすればよいですか?? OMNET++ で (ユーザーから) n を入力するにはどうすればよいですか??
どなたかお願いします...