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[] boolparams
    GA boolean parameters for running PAGA; delete previous setups; heuristic population generation
    (package private) network.Codec cod  
    (package private) int crossprob
    GA parameters; populations size; supergenerations; crossover and mutation probabilities
    (package private) int duration
    VNF life cycle duration
    (package private) java.lang.String filename  
    (package private) int generations
    GA parameters; populations size; supergenerations; crossover and mutation probabilities
    (package private) int iterations
    number of iterations
    (package private) int k
    k parameter; different usage in different topologies
    (package private) int links
    network elements
    (package private) int mutprob
    GA parameters; populations size; supergenerations; crossover and mutation probabilities
    (package private) network.Network net
    network object
    (package private) int netclasses
    network traffic classification parameter; used in PAGA
    (package private) java.lang.Double nodecapacity
    node CPU capacity
    (package private) java.io.File parametersfile
    parameters file
    (package private) java.lang.String path
    path to store log files
    (package private) int popsize
    GA parameters; populations size; supergenerations; crossover and mutation probabilities
    (package private) int r1
    specify the VNFgraph file names
    (package private) int r2
    specify the VNFgraph file names
    (package private) int racks
    network elements
    (package private) int servers
    network elements
    (package private) int servperrack
    servers per rack
    (package private) int supergens
    GA parameters; populations size; supergenerations; crossover and mutation probabilities
    (package private) int switches
    network elements
    (package private) java.lang.String type
    network type
    (package private) java.lang.String vnfgraphs
    path to VNFgraph files
  • Constructor Summary

    Constructors
    Constructor Description
    Main()  
  • Method Summary

    Modifier and Type Method Description
    void init()
    Initialize simulation
    static void main​(java.lang.String[] args)  
    void setparameters()
    read simulation parameters from file

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • net

      network.Network net
      network object
    • type

      java.lang.String type
      network type
    • racks

      int racks
      network elements
    • switches

      int switches
      network elements
    • servers

      int servers
      network elements
    • cod

      network.Codec cod
    • path

      java.lang.String path
      path to store log files
    • vnfgraphs

      java.lang.String vnfgraphs
      path to VNFgraph files
    • parametersfile

      java.io.File parametersfile
      parameters file
    • iterations

      int iterations
      number of iterations
    • r1

      int r1
      specify the VNFgraph file names
    • r2

      int r2
      specify the VNFgraph file names
    • servperrack

      int servperrack
      servers per rack
    • k

      int k
      k parameter; different usage in different topologies
    • duration

      int duration
      VNF life cycle duration
    • filename

      java.lang.String filename
    • nodecapacity

      java.lang.Double nodecapacity
      node CPU capacity
    • netclasses

      int netclasses
      network traffic classification parameter; used in PAGA
    • popsize

      int popsize
      GA parameters; populations size; supergenerations; crossover and mutation probabilities
    • generations

      int generations
      GA parameters; populations size; supergenerations; crossover and mutation probabilities
    • supergens

      int supergens
      GA parameters; populations size; supergenerations; crossover and mutation probabilities
    • crossprob

      int crossprob
      GA parameters; populations size; supergenerations; crossover and mutation probabilities
    • mutprob

      int mutprob
      GA parameters; populations size; supergenerations; crossover and mutation probabilities
    • boolparams

      boolean[] boolparams
      GA 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