Menu

Forking and Joining in Activity Graphs

Help
2015-09-17
2015-11-30
  • Christoph Müller

    I've got a question regarding the possibility to fork and join activities in LQN activity graphs.

    The xsd schema linked here as well as the the thesis by Xiuping Wu (p. 41) mentions a "pre-AND" Element for this task.

    Example:

        <precedence>
          <pre-AND>
            <activity name="main_call"/>
            <activity name="db_call"/>
          </pre-AND>
        </precedence>
    

    While looking through the code of LINE I could only find code parsing the pre/post-OR element, but no occurence of pre/post-AND or pre/post-LOOP.

    Is support for these elements planned or is there another way to achieve forking/joining?

    Best regards,

    Christoph

     
  • Juan

    Juan - 2015-09-17

    Hi Christoph,

    Thanks for your interest in LINE.
    Currently, LINE supports OR precedences, but no AND nor LOOP. We are working on adding support for the AND precedence to consider fork-join constructs. This is still work in progress so we don't have a planned release date yet.

    Best wishes,
    Juan

     
  • Christoph Müller

    Hi Juan,

    thanks for considering to add Fork/Join mechanisms to LINE. In the meantime I tried to work on an alternative (basically an approximation) using async calls.

    While LINE does not throw an error, I just get 0% Utilization on processors that have been called using async calls. I couldn't find any examples using <async-call>, is there a minimal working example available somewhere? Is there something I am missing (like an necessary reply for instance)?

    Best regards,
    Christoph

     
  • Juan

    Juan - 2015-11-30

    Hi Christoph,

    I will look into the problem you mention and get back to you as soon as possible.

    Best wishes,
    Juan

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.