simulation

package
v0.0.0-...-9cf7d52 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateStations

CreateStations creates all stations based on the provided config.

func GatherStatistics

func GatherStatistics(gasStation, dieselStation, lpgStation, electricStation, register *station.Station) *output.SimulationOutput

GatherStatistics gathers statistics from all stations.

func StartSimulation

func StartSimulation(c *config.Config, uuid string) (*output.SimulationOutput, error)

StartSimulation starts the simulation and returns the simulation statistics.

Types

This section is empty.

Jump to

Keyboard shortcuts

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