Skip to content

Computing the size of the CPOG and LES corresponding to a given unfolding

License

Notifications You must be signed in to change notification settings

tuura/les-to-cpog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

les-to-cpog

Given an unfolding, this tool computes the size of the corresponding Labelled Event Structure (LES) and the corresponding Conditional Partial Order Graph (CPOG).

Build

Compile the sources using the GHC compiler:

ghc src/Main.hs -isrc -O -o l2c

Run

Run the tool by feeding a benchmark into stdin:

l2c < benchmarks/filesystem12.txt

Unfolding stats:
  # events     = 157
  # conditions = 564
  # arcs       = 1501

LES stats:
  # events           = 157
  # direct causality = 300
  # direct conflicts = 0

CPOG stats:
  # vertices                 = 121
  # arcs                     = 277
  # literals in predicates   = 157
  # literals in rho function = 1585

About

Computing the size of the CPOG and LES corresponding to a given unfolding

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published