Comments (2)
Hi @smoelius. Thanks for your interest in the project!
Yes, this is absolutely possible. You could base such an implementation off of impl Model for ActorModel
(adding the additional shared environment state to a new type analogous to ActorModelState
, for which network
is simply one aspect of the environment).
https://github.com/stateright/stateright/blob/master/src/actor/model.rs
https://github.com/stateright/stateright/blob/master/src/actor/model_state.rs
from stateright.
Please let me know if you run into any difficulties. Can you elaborate on the use case as well? I should clarify that shared global time isn't assumed, so if one actor sleeps "at least 20ms" (timer 1) and another sleeps "at least 20,000 ms" (timer 2) then the checker does validate both orderings (timer2 before timer1 and vice versa).
from stateright.
Related Issues (20)
- Name threads when spawning for checking HOT 1
- Handle panics during checking HOT 1
- Add ability to save and load checker state HOT 4
- Go code implementation of stateright project HOT 1
- Leveraging future's state machines HOT 4
- Spawning actors with a reliable network HOT 2
- Report depth in ReportData
- Enable limiting the depth traversed by the checker
- Named timers
- Quicker detection of done state in reporter
- Question: Is it possible to share the outputs / states HOT 2
- Simulation checker
- Remove the `actions` argument from `Model::actions` and return the actions HOT 3
- `smoke_test_states` fails on the master branch. HOT 3
- `DGraph::with_path` should take the ownership of `self` to avoid cloning.
- Enable `cargo clippy` in CI
- Heterogenous Actors HOT 3
- Tag your releases HOT 2
- Simulation checker HOT 2
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 stateright.