dfa

package
v0.0.0-...-a350d6c Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2018 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package dfa provides a way to construct deterministic finite automata from non-deterministic finite automata.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

type Node struct {
	S int  // state
	F bool // final?
	T []T  // transitions
	// contains filtered or unexported fields
}

func NewFromNFA

func NewFromNFA(nfanode *nfa.Node) *Node

type T

type T struct {
	R []rune // rune ranges
	N *Node  // node
}

Jump to

Keyboard shortcuts

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