Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow to choose to disposed or make all events of a TimeNode to happened when a first Max bound is reached #25

Closed
theod opened this issue Feb 10, 2016 · 6 comments
Assignees
Milestone

Comments

@theod
Copy link
Member

theod commented Feb 10, 2016

this is relative to #22

@theod theod self-assigned this Feb 10, 2016
@theod theod added this to the release/1.0 milestone Feb 10, 2016
@theod
Copy link
Member Author

theod commented Feb 10, 2016

this way the MaxBoundEvent will not be optional and it will be possible to make the EndEvent and the MaxBoundEvent happened.

@theod
Copy link
Member Author

theod commented Feb 10, 2016

I add @bltzr as he is the one who proposed this feature.

@theod theod changed the title allow to choose to disposed or make TimeConstraint's end event to happened when Max bound is reached allow to choose to disposed or make all events of a TimeNode to happened when a first Max bound is reached Feb 11, 2016
@theod
Copy link
Member Author

theod commented Feb 11, 2016

I've renamed the issue because it is too complexe to put this property on the TimeEvent class.
see the schema I did to illustrate the problem :

comportement au max

@theod
Copy link
Member Author

theod commented Feb 11, 2016

the API now provides a new attribute to TimeNode to allow to dispose it when a previous timeconstriant reaches its maximal duration.

@theod theod closed this as completed Feb 11, 2016
@cbossut
Copy link
Contributor

cbossut commented Feb 11, 2016

This should be a condition tested against variables in the Expression.
When the max bound is reach, first activate the timeNode, then each
TimeEvent test his Expression, with the variables set according to the way
the TimeNode has been launched.

2016-02-11 11:23 GMT+01:00 theod [email protected]:

the API now provide a new attribute to TimeNode to allow to dispose it
when a previous timeconstriant reaches its maximal duration.


Reply to this email directly or view it on GitHub
#25 (comment).

Clément Bossut

@theod
Copy link
Member Author

theod commented Feb 12, 2016

after pushing this commit I've finally understood that was the same than using an expression.
so I will revert this ugly feature ! but I'll add a new one ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants