Comments (3)
Thank you for your interesting scenario! I think you have formulated correctly in your first requirement entering and leaving toggling mode. I think you understand the semantics of unless. However, as there should always be two lamps off, that means that two of the last three of your requirements will be applicable, hence specifying that more than one lamp be on at the same time. Also, saying "after 1 second !L3" doesn't preclude L3 turning back on after two seconds, nor does it preclude L2 or L1 also being on at the same time for 1 second.
So I think a solution is the following (I simplified the example to not specify toggling mode):
- The sys shall immediately satisfy L1 & !L2 & !L3
- Upon L1 the sys shall for 1 sec satisfy L1 & !L2 & !L3
- Upon L2 the sys shall for 1 sec satisfy L2 & !L1 & !L3
- Upon L3 the sys shall for 1 sec satisfy L3 & !L1 & !L2
- Upon L1 the sys shall after 1 sec satisfy L2
- Upon L2 the sys shall after 1 sec satisfy L3
- Upon L3 the sys shall after 1 sec satisfy L1
I like using the word "upon" because it implies being triggered by the proposition becoming true from false.
from fret.
thanks a lot!
from fret.
I am closing this issue since the question has been answered.
from fret.
Related Issues (20)
- Variable Mapping Import HOT 5
- How to combine fret and cocosim to a fret-cocosim workflow? HOT 17
- Verification Problem? HOT 9
- Difference between 'at the next time point' and 'for 1 time unit' HOT 4
- How to understand the result of diagnose? HOT 16
- Unsuccessful Installation HOT 3
- Error "incompatible architecture (have (x86_64), need (arm64e))" trying to start FRET on an M1 machine HOT 3
- Export requirements status field in json format HOT 4
- Electron GPU initialization fails on Ubuntu 22.04 HOT 6
- could not install fret HOT 5
- Realizability GUI issue HOT 5
- Broken link in docs HOT 2
- Error on Install: regex.h no such file or directory HOT 3
- Installation on Mac M1 Monterey throwing webpack/native dependency errors HOT 8
- Bug: All Caps "Immediately" keyword causes blank screen HOT 4
- Unable to run executable built with Docker on Ubuntu 22.04 HOT 2
- Requirement Description Text Box Stops Various Keys (and highlighting) from Working HOT 4
- Trailing bit of requirement after a colon HOT 2
- Search Bar Doesn't Respond to Enter Key HOT 3
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 fret.