i am working on topology control, and the network is wireless since it is a mobile ad hoc network.
From: Alfonso Ariza Quintana <aarizaq_m at xxx>
To: omnetpp-l at xxx
Sent: Saturday, May 16, 2009 11:05:43 PM
Subject: Re: [Omnetpp-l] building a network topology
Why do you want to do this? Do you want a wired or wireless network?
Date: Fri, 15 May 2009 10:01:20 -0700
From: markglein at xxx
To: omnetpp-l at xxx
Subject: [Omnetpp-l] building a network topology
Ladies and Gentlemen,
I am new to Omnet. I want to build an ad hoc mobile network. I used the node inet/modes/adhoc/MobileManetRoutingHost for my network. I want to connect every node to its visible neighbors.
I tried the following network, but i am not succesful. Can someone help me please.
Best Regards,
Mark
network myMobileNet
{
parameters:
int numHosts;
double playgroundSizeX;
double playgroundSizeY;
@display("bgb=1024,528");
submodules:
host[numHosts]: MobileManetRoutingHost
{
parameters:
@display("r=,,#707070;p=154,200");
}
channelcontrol: ChannelControl {
parameters:
playgroundSizeX = playgroundSizeX;
playgroundSizeY = playgroundSizeY;
@display("p=111,49");
}
scenarioManager: ScenarioManager
{
parameters:
@display("p=354,50");
}
connections allowunconnected:
for i=0..numHosts-1, j=0..sizeof(radioIn)-1{
host[i].radioIn--> host[j].radioIn
}
}
¿Eres del Madrid, del Barça, del Atleti...? Apoya a tu equipo en la
Zona Fan de MSN
Deportes