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:
        overlayTerminalType : string, // type of overlay terminal
		fieldSize : numeric, // maximum x/y-coordinate for nodes
		channelTypes : string, //ignored but must be set, needed by base class
		sendQueueLength : numeric, // send-queue length in bytes (0 = infinite)
		keepFirstNode : bool,  // is the first node allowed to be killed?
        gracefullLeaveDelay : numeric, // time between prekill and removal from overlay
        gracefullLeavePropability : numeric, // propability of gracefull leave
    churnGeneratorTypes : string, // a list of churn generators to be used
    transitionTime : numeric, // time to wait before measuring after init phase is finished
    measurementTime : numeric; // duration of the simulation after init and transition phase

endsimple