simulate

package
v0.0.0-...-fe74a4f Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var B = 2e6
R parameter

bandwidth (Hz)

Functions

func GetR

func GetR(N int) [][]float64

simulate R

func GetSiNet

func GetSiNet(N int) []structs.SiNet

simulate NPD (W, D, T)

func GetSiTask

func GetSiTask(M int) []structs.SiTask

simulate TFD (F, C, E)

func GetSimpleMatrix

func GetSimpleMatrix(taskData []structs.SiTask, netData []structs.SiNet, RMatrix [][]float64) [][]float64

solve optimal delay matrix (find the optimal computing resources to minimize the sum of delay)

Types

type Coordinate2D

type Coordinate2D struct {
	// X-axis
	X float64
	// Y-axis
	Y float64
}

two-dimension coordinate

Jump to

Keyboard shortcuts

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