Skip to content

working with tree acceptors as visualizable graphs

License

Notifications You must be signed in to change notification settings

vvulpes0/tree-automata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tree Acceptors

Introduction

This is the beginning of a simple library for bottom-up finite-state tree acceptors.

Currently implemented are:

  • Constructing trees and acceptors
  • A visualization of tree acceptors
  • Reduction to a canonical form (minimization)
  • The emptiness problem
  • The finiteness problem

The use of a ranked alphabet is not assumed. The emptiness problem is solved by reduction to reachability in a hypergraph.

Finiteness is reduced to acyclicity of a connection graph.

The visualization is through Graphviz, which unfortunately has no support for hypergraphs. They are simulated here by use of a directed two-coloured graph where white nodes are actual nodes, and black nodes are hyperedge labels. Tree acceptors are represented by strongly directed hypergraphs (a variant which uses sequences rather than sets for sources and sinks), so this workaround is especially useful in that sequence indices can be placed as labels on the edges of the graph.

About

working with tree acceptors as visualizable graphs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published