Package services

Class Broker

java.lang.Object
services.Broker

public class Broker
extends java.lang.Object
  • Field Details

    • vnfgraph

      VNFgraph vnfgraph
      VNF-graphs
    • subgraphs

      VNFgraph[] subgraphs
      VNF-subgraphs
    • net

      substrate network, hypergraph
    • mapping

      int[] mapping
      node mapping
    • hypernodemapping

      int[] hypernodemapping
      hypernode mapping
    • hypernodegraph

      VNFgraph hypernodegraph
      hyper node VNF-graph
    • newvnfgraph

      VNFgraph newvnfgraph
      aggregated VNF-graph
    • classes

      java.util.ArrayList<java.lang.Integer> classes
      classes of VNFs that have the same constraints
    • classnodes

      java.util.ArrayList<java.util.ArrayList<java.lang.Integer>> classnodes
      index of nodes in every class
    • partitioning

      java.util.ArrayList<java.lang.Integer> partitioning
      the index of every subgraph node in the VNF-graph
    • codec

      Codec codec
      Edge Vector codec
  • Constructor Details

  • Method Details

    • decompose

      public void decompose​(int[] constraints)
      decomposes a VNF-graph in subgraphs according to given constraints
    • aggregate

      public int[] aggregate()
      generates mapping for the whole request from subgraph mappings
    • compose

      public VNFgraph compose()
      composes graph partitions in one VNF-graph
    • getsubgraphs

      public VNFgraph[] getsubgraphs()
    • gethypernodegraph

      public VNFgraph gethypernodegraph()
    • gethypernodemapping

      public int[] gethypernodemapping()
    • isinclass

      public int isinclass​(int i)
    • isinarray

      public int isinarray​(int[] a, int b)
    • printclasses

      public void printclasses()
    • printsegments

      public void printsegments()
    • printaggregated

      public void printaggregated()