/usr/local/CPAN/Simulation-Automate/Simulation/Automate/Dictionary.pm
package Simulation::Automate::Dictionary;
use vars qw( $VERSION );
$VERSION = "1.0.1";
#################################################################################
# #
# Copyright (C) 2000,2002 Wim Vanderbauwhede. All rights reserved. #
# This program is free software; you can redistribute it and/or modify it #
# under the same terms as Perl itself. #
# #
#################################################################################
#=headers
#Module to support SynSim simulation automation tool.
#Simple dictionary to have meaningful annotations on the plots generated by PostProcessors.pm.
#The contents of %make_nice is specific to the type of simulations.
#This module is only used by PostProcLib.pm
#$Id$
#=cut
use Exporter;
@Simulation::Automate::Dictionary::ISA = qw(Exporter);
@Simulation::Automate::Dictionary::EXPORT = qw(
%make_nice
);
# Translate the parameter names and values into something meaningful
%Simulation::Automate::Dictionary::make_nice=(
_BUFTYPE => {
title=>'Buffer type',
0=>'Adjustable',
1=>'Fixed-length',
2=>'Multi-exit',
},
_TRAFDIST => {
title=>'Packet gap dist.',
0=>'Poisson',
1=>'Pareto',
2=>'Uniform',
},
_PLDIST => {
title=>'Packet length dist.',
2=>'IP',
1=>'Ethernet',
0=>'Uniform',
},
_KEEP_ORDER => {
title=>'Ordered',
0=>'No',
1=>'Yes',
},
_DEFLECTION => {
title=>'Deflection',
0=>'No',
1=>'Yes',
},
_NMAXGAP => {
title=>'Max. gap width',
},
_NPACK => {
title=>'Number of packets',
100000=>'10^5',
200000=>'2.10^5',
500000=>'5.10^5',
1000000=>'10^6',
2000000=>'2.10^6',
5000000=>'5.10^6',
10000000=>'10^7',
},
_AGGREGATE => {
title=>'Aggregate',
0=>'No',
12000=>'Yes',
},
_RECIRC => {
title=>'Recirculate',
0=>'No',
#1000=>'Yes',
#2000=>'Yes',
#5000=>'Yes',
#10000=>'Yes',
},
_NPORTS => {
title=>'Number of ports',
},
_K_PARETO => {
title=>'Pareto constant',
},
_NBUFS => {
title => 'Number of buffers',
},
_BLOCKING => {
title => 'Buffer output mux blocking or not',
},
_UNITPL => {
title => 'Unit packet length',
},
_MINGW => {
title => 'Min. gap width',
},
_FRACT_MIN => {
title => 'Fraction of 40 byte to 1500 byte packets',
},
_NMAX => {
title => 'Max. number of units',
},
_SAMPL => {
title => 'Sampling freq.',
},
);
#==============================================================================