simple

command
v0.0.0-...-69341d4 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2020 License: MIT Imports: 8 Imported by: 0

README

Simple example of a HSM

This demonstrates a simple HSM. The state diagram can be seen below. state diagram.

Given the implementation, the specified input should yield the following results:

->A;->B;
Enter Text: (type a)
<-B;
Action1
->C;
Enter text: (type b)
Action2

Enter text: (type c)
<-C;<-A;
Action3
->A;->B;

Enter text: (type a)
<-B;
Action1
->C;

Enter text: (type x)
<-C;
Action6
->C;

Enter text: (type y)
Action7

Enter text: (type d)
<-C;<-A;
Action4
->D;

Enter text: (type e)
<-D;
Action5
Done

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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