Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

The network is built from biodegradation reactions where, in A->B, B is the result of some reaction from A and the edge represents enzymes catalysing such a reaction. ...

Hm. That suggests that having transitioned from the A state to the B state, you cannot go backwards to the A state.

But then you have two sentences that have an overriding termination (or perhaps extension) criteria:

The terminating situation will be when the path ends and there is no possibility of futher elongation along the path of interest. ...

An earlier captured 'node-edge-node' should not be captured again, until the the path logically ends (without a possibility of further elongation).

And in your example, having transitioned from c-d, the reaction(s) can find their way back to the c state; and then leave via a different route.

Your path:A->B->C->D->G->H->C->J->K

So my question is, if the reaction can go from c-d once; and can find its way back to c; why can it not transition c-d a second time?

Which would make the path a-b-c-d-g-h-c-d-e an elongation of the path you've identified as legitimate: A->B->C->D->E

Thinking, I hope logically, about a subject I know next to nothing about, I considered the possibility that whatever enzymes are in the original mix, when the C state occures it preferentially reacts with whichever enzyme(s) are required to transition to state D.

And in doing so, depletes the mix of that(those) enzymes. Which means that when the mix arrives at the C state a second time, those enzymes are no longer present so it can now react with other enzymes that cause it to transition to state J.

Is that a viable, even if technically inaccurate, model of what goes on?

If so, I think an efficient solution is possible.

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

In reply to Re^15: Finding All Paths From a Graph From a Given Source and End Node by BrowserUk
in thread Finding All Paths From a Graph From a Given Source and End Node by neversaint

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others cooling their heels in the Monastery: (4)
    As of 2021-02-26 01:59 GMT
    Find Nodes?
      Voting Booth?

      No recent polls found