Skip to content
This repository was archived by the owner on Dec 26, 2025. It is now read-only.

samo538/mata-sim-comp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reduction benchmarking

This benchmark aims to compare 4 reduction algorithms for nfa.

The compared algorithms are: Hopcroft, Brzozowski, Simulation, Residual. They are implemented in Mata (https://github.com/VeriFIT/mata)

The main metrics are speed, number of states and number of transitions in the resulting automaton

Instalation

Firstly, benchmarks need to be compiled

cd src
make

How to evaluate

I am using pycobench to evaluate the algortihm. To evaluate speed:

./pycobench -c input/bench-reduction.yaml -m [algorithm] -o results/output.out < input/single-automata.input

instead of [algorithm] write the name of the algorithm you want to benchmark

How to parse the output

Pycobench output may not be in optimal format. Parsing the output:

cd results
../pyco_proc --csv output.out > result.csv

Visualising the output

cd visual python3 graph.py [path/to/file] [path/to/file] [states | transitions | time]

About

Benchmarking enviroment for comparing reduction and minimalization algorithms in libmata (https://github.com/VeriFIT/mata).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages