Package controller
Class Main
java.lang.Object
controller.Main
public class Main
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description (package private) boolean[]boolparamsGA boolean parameters for running PAGA; delete previous setups; heuristic population generation(package private) network.Codeccod(package private) intcrossprobGA parameters; populations size; supergenerations; crossover and mutation probabilities(package private) intdurationVNF life cycle duration(package private) java.lang.Stringfilename(package private) intgenerationsGA parameters; populations size; supergenerations; crossover and mutation probabilities(package private) intiterationsnumber of iterations(package private) intkk parameter; different usage in different topologies(package private) intlinksnetwork elements(package private) intmutprobGA parameters; populations size; supergenerations; crossover and mutation probabilities(package private) network.Networknetnetwork object(package private) intnetclassesnetwork traffic classification parameter; used in PAGA(package private) java.lang.Doublenodecapacitynode CPU capacity(package private) java.io.Fileparametersfileparameters file(package private) java.lang.Stringpathpath to store log files(package private) intpopsizeGA parameters; populations size; supergenerations; crossover and mutation probabilities(package private) intr1specify the VNFgraph file names(package private) intr2specify the VNFgraph file names(package private) intracksnetwork elements(package private) intserversnetwork elements(package private) intservperrackservers per rack(package private) intsupergensGA parameters; populations size; supergenerations; crossover and mutation probabilities(package private) intswitchesnetwork elements(package private) java.lang.Stringtypenetwork type(package private) java.lang.Stringvnfgraphspath to VNFgraph files -
Constructor Summary
Constructors Constructor Description Main() -
Method Summary
Modifier and Type Method Description voidinit()Initialize simulationstatic voidmain(java.lang.String[] args)voidsetparameters()read simulation parameters from fileMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
net
network.Network netnetwork object -
type
java.lang.String typenetwork type -
racks
int racksnetwork elements -
switches
int switchesnetwork elements -
links
int linksnetwork elements -
servers
int serversnetwork elements -
cod
network.Codec cod -
path
java.lang.String pathpath to store log files -
vnfgraphs
java.lang.String vnfgraphspath to VNFgraph files -
parametersfile
java.io.File parametersfileparameters file -
iterations
int iterationsnumber of iterations -
r1
int r1specify the VNFgraph file names -
r2
int r2specify the VNFgraph file names -
servperrack
int servperrackservers per rack -
k
int kk parameter; different usage in different topologies -
duration
int durationVNF life cycle duration -
filename
java.lang.String filename -
nodecapacity
java.lang.Double nodecapacitynode CPU capacity -
netclasses
int netclassesnetwork traffic classification parameter; used in PAGA -
popsize
int popsizeGA parameters; populations size; supergenerations; crossover and mutation probabilities -
generations
int generationsGA parameters; populations size; supergenerations; crossover and mutation probabilities -
supergens
int supergensGA parameters; populations size; supergenerations; crossover and mutation probabilities -
crossprob
int crossprobGA parameters; populations size; supergenerations; crossover and mutation probabilities -
mutprob
int mutprobGA parameters; populations size; supergenerations; crossover and mutation probabilities -
boolparams
boolean[] boolparamsGA boolean parameters for running PAGA; delete previous setups; heuristic population generation
-
-
Constructor Details
-
Main
public Main()
-
-
Method Details
-
main
public static void main(java.lang.String[] args) -
setparameters
public void setparameters()read simulation parameters from file -
init
public void init()Initialize simulation
-