config

package
v0.0.0-...-d3f4c90 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConditionType_Or  = iota // c0 == 0
	ConditionType_And = iota // c1 == 1
)

Variables

View Source
var AndString string = "and"
View Source
var FsmConfigRootDir string
View Source
var IgnoreUnknownStates bool
View Source
var Optimize bool
View Source
var OrString string = "or"

Functions

func ParseConfig

func ParseConfig() bool

Types

type Condition

type Condition struct {
	Type          int
	Conditions    []map[string]int
	Subconditions []Condition
}

type FsmCreatorConfig

type FsmCreatorConfig struct {
	States   map[string]State
	Inputs   map[string]int
	Outputs  map[string]int
	Defaults defaults
}
var MainConfig FsmCreatorConfig

type State

type State struct {
	Successors       map[string]Condition
	DefaultSuccessor map[string]interface{}
	Outputs          map[string]int
	Preserve         bool
	Statenumber      int
}

Jump to

Keyboard shortcuts

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