simulator

package
v0.0.0-...-2a552c6 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Simulator

type Simulator struct {
	// contains filtered or unexported fields
}

func Create

func Create() (*Simulator, error)

Create returns a simulation object capable to run a multiple testing scenario.

func (*Simulator) AddScenario

func (s *Simulator) AddScenario(name string, conf *config.Config) error

AddScenario adds a new testing scenario.

func (*Simulator) ExportGNUPlots

func (s *Simulator) ExportGNUPlots(filepath string) error

ExportGNUPlots creates the gnuplot data file.

func (*Simulator) ExportPlots

func (s *Simulator) ExportPlots(filepath string) error

ExportPlots creates the plot image file.

func (*Simulator) Run

func (s *Simulator) Run() error

Run executes all simulation scenario.

Jump to

Keyboard shortcuts

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