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

Question about nominal duration of constraints #14

Closed
jcelerier opened this issue Dec 21, 2015 · 3 comments
Closed

Question about nominal duration of constraints #14

jcelerier opened this issue Dec 21, 2015 · 3 comments
Labels

Comments

@jcelerier
Copy link
Member

Here is an use case :
automs

Here we have a constraint with three processes : one of duration < of the min of the constraint, one approximatively equal to the nominal duration of the constraint, and one that goes after the nominal in case our trigger takes a long time to start.

Currently, for this case in i-score, it's okay because it's only curves. In the translation i-score -> API Scenarios are created with a single constraint of the length of the process here.

But this means that for instance, if we replace the automations by processes that are less "temporal" (such as loop processes, JS processes, mapping processes) and if the parent constraint is made infinite, this means that the process will still end at some point in time and not continue indefinitely.

How should this be done ?
I see two options :

  • Marking processes as describing an "invariant" (for processes that I mentioned) which doesn't really have a duration.
  • Adding a field in i-score that says if a process should directly be in its parent constraint in the API (for instance a checkbox "use parent duration" next to the process).
    I am going for the second way for now since it does not require changes in the API.

Any other ideas ?

@jcelerier
Copy link
Member Author

I will set the "use parent duration" functionality by default for all the process that don't really have a duration like JS, mapping, loop.

For automation I think that it should have its own duration by default.

@theod theod added the question label Jan 4, 2016
@theod
Copy link
Member

theod commented Jan 4, 2016

about the use case :

  • automation 1 should be ended by an empty segment.
  • automation 2 is ok.
  • automation 3 is already allowed by the API as a Curve can have segment starting from an abscissa greater than 1.

so Automation process doesn't need to have its own duration by default.

about cases where processes are not automations (the "less temporal" ones) :
you said "if the parent constraint is made infinite, this means that the process will still end at some point in time and not continue indefinitely" but this is not true : the process simply have to handle time positions greater than 1. this is the case for the Mapper and Loop processes and for JS it depends of the code inside.

@jcelerier
Copy link
Member Author

closing since it's not done like this anymore in i-score

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

No branches or pull requests

2 participants