Comments (3)
The expected behaviour you describe is indeed how most tools behave. I think that an exception was made for lps2lts because in some cases it is desirable to only use one of the other features of lps2lts (counting states, finding deadlocks etc.) and not output anything (because this can be expensive, in time or disk space). Of course this design decision can be changed, I think @jgroote's opinion is relevant.
from mcrl2.
The tool description notes a default output:
$ lps2lts -h
Usage: lps2lts [OPTION]... [INFILE [OUTFILE]]
Transforms the LPS in INFILE and writes a corresponding LTS to OUTFILE. If
OUTFILE is not present, stdout is used. If INFILE is not present, stdin is
used.
from mcrl2.
Thank you for the input @tneele.
After discussion with @jgroote, we concluded that by default there should be no LTS output to stdout
. Only if the output format is specified, the default output should be stdout
.
A documentation update and a fix is needed for some output formats:
$ echo "act a; proc P = a . P; init P;" | mcrl22lps | lps2lts -olts
[error] Fail to open file for writing.
$ echo "act a; proc P = a . P; init P;" | mcrl22lps | lps2lts -oaut
[error] cannot open '' for writing
$ echo "act a; proc P = a . P; init P;" | mcrl22lps | lps2lts -ofsm
---
---
1 1 "a"
$ echo "act a; proc P = a . P; init P;" | mcrl22lps | lps2lts -odot
cannot open DOT file '' for writing.
from mcrl2.
Related Issues (20)
- Regular formulas cannot contain the `nil' element. HOT 2
- Symbolic exploration using lps2lts-sym of the latest version of ltsmin is broken HOT 2
- Add tests for the PRES library
- CMake 3.27.7 does not work with rpmbuild 4.19, causing packaging to fail on Fedora HOT 1
- pbessolvesymbolic crashes when merging the data specification with the data specification containing the PropositionalVariable struct
- The compiling rewriter fails in the nightly builds due to referring to a non existing sysroot HOT 1
- Missing documentation --check-only flag lps2pbes HOT 3
- Qt 6.7 added a Windows 11 theme, which enabled dark mode, and this makes the icons hard to see in mcrl2ide HOT 6
- There are (still) data races in lps2lts, presumably the --cached option HOT 1
- The atermpp::standard_containers implementation is unidiomatic and error prone
- Improve exception safety with smart pointers HOT 4
- Conflicting variables in data gives wrong results in certain cases HOT 3
- The minimal depth strong bisimulation algorithm ignores the hidden action map (--tau=)
- There should be a standard way to print progress information with a fixed time interval
- The minimal depth counterexample branching bisimulation algorithm is incorrect HOT 1
- [Diagraphica] Examiner play button unimplemented HOT 1
- Pretty printing an LPS creates an invalid mCRL2 specification whenever there is an action is named P
- Shorthand notation for observation variables
- The dnj branching bisimulation algorithm triggers an assertion with the --tau option HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mcrl2.