Git Product home page Git Product logo

Comments (5)

sarahtattersall avatar sarahtattersall commented on July 20, 2024

Could you tell me in words what expression you'd like to do?

from pipe.

MuzShekh avatar MuzShekh commented on July 20, 2024

The expression I want is something like this 10 * [01].
Transition rate: 10.
Number of matches: [01].

Number of matches is related to an individual token view where one considers matches of the precondition of a transition into the set of available tokens, such that all matches are considered independent experiments.

To get the rates in the Continuous Time Markov Chains (CTMC), transition rates have to be multiplied by the number of matches found.

The only examples I could work had constant parameters only, like 1 * 2.
I am sure I am missing something in the syntax of the expressions.

Is there any documentation or working examples? or if the feature is functional at all?

from pipe.

sarahtattersall avatar sarahtattersall commented on July 20, 2024

You're right, there is little to no documentation (something of which I hope to fix in time) on most of these features.

I'm fairly sure the only functional rates PIPE supports are capacity (e.g. cap(P0)) and number of tokens in a place (e.g. #(P0)).

I'm not quite sure what you are asking, could you provide me with some examples? However I'm fairly sure what you're asking is not yet supported.

from pipe.

MuzShekh avatar MuzShekh commented on July 20, 2024

Thanks a lot,
The number of tokens #(p0) was very useful.

What I need is something like that:
r * (#(p)!/(#(p) - w(p, t))!)

r= transition rate
p=place
t= transition
w(p,t)= weight

from pipe.

sarahtattersall avatar sarahtattersall commented on July 20, 2024

I'm just re-evaluating this issue and noticed we never got the problem sorted. By w(p, t) do you mean the weight of the arc between p and t?

from pipe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.