generator

package
v0.0.0-...-953494f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2021 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Bandwidth_min = 1
View Source
var Cpu_base = 100
View Source
var Cpu_min = 2
View Source
var Slice_Duration_base = 100
View Source
var Slice_Duration_min = 1

Functions

func ForecaseGenerator

func ForecaseGenerator(dir string, blcok_size int, cpu_max int, cpu_discount float64, bandwidthLimit int, bandwidth_discount float64)

generate forecaseting blocks for each slice

func RequsetGenerator

func RequsetGenerator(dir string, slice_info_dictionary []SliceList, num_tenant int, num_slice int, extra_request_num_each_timewindow int)

generate network slice request in each timewindow (dir of set, num of tenant, num of network slice each tenant, num of extra request) basic request number = tenant number

func SliceRequestGenerator

func SliceRequestGenerator(dir string, gnb_tenant_dictionary []string, num_slice int, cpu_max int, cpu_lambda int, bandwidthLimit int, bandwidth_lambda int, slice_duration int, slice_duration_random bool, timewindow_duration int, extra_request_num_each_timewindow int)

generate network slice info of each tenant and slice request

Types

type Block

type Block = slicebinpack.Block

type ForecastingBlock

type ForecastingBlock = nsrhandler.ForecastingBlock

type Slice

type Slice = slicebinpack.Slice

type SliceList

type SliceList = nsrhandler.SliceList

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL