File Underlay/SimpleUnderlay/SimpleNetConfigurator.ned

Contains:

//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
//

//
// Configurator of the SimpleUnderlay
//
// Sets up a SimpleNetwork, adds overlay nodes to the network in init phase
// periodically with the interval set by "initalMobilityDelay",
// adds/removes/migrates overlay nodes after init phase periodically with the
// interval set by targetMobilityDelay with the probabilities defined by the
// parameters creationProbability, removalProbability, and migrationProbability 
//
simple SimpleNetConfigurator
	parameters:
		simulateMobility : bool, // add/remove nodes in and after init phase?
		initialOverlayTerminalNum : numeric, // number of nodes created before init phase
		targetOverlayTerminalNum : numeric, // number of nodes after init phase
		initialMobilityDelay : numeric, // node creation interval in init phase
		targetMobilityDelay : numeric, // node creation/removal/migration interval after init phase
		targetMobilityDelay2 : numeric,
		creationProbability : numeric, // probability that a new node gets created
		migrationProbability : numeric, // probability that a node migrates
		removalProbability : numeric, // probability that a node gets removed
                overlayTerminalType : string, // type of overlay terminal
		fieldSize : numeric, // maximum x/y-coordinate for nodes
		sendQueueLength : numeric, // send-queue length in bytes (0 = infinite)
		channelTypes : string, // used access technologies 
		keepFirstNode : bool,
		churnChangeInterval : numeric;

endsimple