sim

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NodeSim added in v0.0.12

func NodeSim(portal, nodeID string)

NodeSim simulates a simple node

Types

type Sim

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

Sim represents a simulation.

func NewSim

func NewSim(start, step, min, max float64) Sim

NewSim creates a new simulation

func (*Sim) Sim

func (s *Sim) Sim() float64

Sim runs a simulation step

Jump to

Keyboard shortcuts

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