Skip to content
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.

Get action that lead to one state. #24

Closed
PickHub opened this issue Apr 1, 2019 · 3 comments
Closed

Get action that lead to one state. #24

PickHub opened this issue Apr 1, 2019 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@PickHub
Copy link

PickHub commented Apr 1, 2019

It would be really useful to have a helper method in the GuiStateMachine that returns all actions that lead to one SutState, instead of only the getAllExploredActions method. Something like: getIncomingActions(SutState state).

@beatngu13
Copy link
Contributor

Or should State offer something like to() and from() / ingoing() and outgoing() / … to retrieve lists of actions?

@PickHub
Copy link
Author

PickHub commented Apr 1, 2019

True, that would be better in terms of computation.

@PickHub PickHub added the enhancement New feature or request label Apr 1, 2019
tdauth added a commit that referenced this issue Apr 1, 2019
@tdauth tdauth self-assigned this Apr 1, 2019
tdauth added a commit that referenced this issue Apr 1, 2019
Test two one incoming action from two different states.
tdauth added a commit that referenced this issue Apr 1, 2019
We take only the outgoing transitions.
rebazer added a commit that referenced this issue Apr 1, 2019
@beatngu13
Copy link
Contributor

Resolved via #25.

tdauth added a commit that referenced this issue Apr 2, 2019
tdauth added a commit that referenced this issue Apr 2, 2019
tdauth added a commit that referenced this issue Apr 9, 2019
tdauth added a commit that referenced this issue Apr 9, 2019
tdauth added a commit that referenced this issue Apr 10, 2019
tdauth added a commit that referenced this issue Apr 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Development

No branches or pull requests

3 participants