ptnet

package
v0.0.0-...-1354865 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2019 License: MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PTNet

type PTNet struct {
	Places      map[string]Place
	Transitions map[Action]Transition
}

func LoadFile

func LoadFile(filePath string) *PTNet

func (PTNet) StateMachine

func (p PTNet) StateMachine() *StateMachine

func (PTNet) String

func (p PTNet) String() string

type Place

type Place struct {
	Initial  uint64 `json:"initial"`
	Offset   int    `json:"offset"`
	Capacity uint64 `json:"capacity"`
}

Jump to

Keyboard shortcuts

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