sorry, I did not exactly understand how the connector should behave. I guess you don't need any FIFOs because your automaton has only one state. I can maybe help you if you either simplify the automaton (it is not minimal in the sense that the constraints contain redundant inequality checks) or if you shortly explain again the intended behavior of the connector informally. Also it would be helpful if you say something about the intended dataflow directions (this cannot easily inferred from a CA).
cheers,
christian
Dear Members,
Regards,
Alireza Farhadi
--
You received this message because you are subscribed to the Google Groups "reo-dev" group.
To post to this group, send email to reo...@googlegroups.com.
To unsubscribe from this group, send email to reo-dev+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/reo-dev?hl=en.
I drew a connector (see the attachment). The conversion to CA currently
does not work for this connector because the SyncDrain constraints
cannot be parsed. Anyway, I think the solution is in general not ideal
because you have very similar cases for different data values which have
to be treated separately. Maybe you can think of another way of doing
it. If not, and you need data constraint5s as I used in the connector,
let me know and I can see if it is difficult to support nit in the CA
converter.
Ciao,
Christian
> <mailto:reo...@googlegroups.com>.
> To unsubscribe from this group, send email to
> reo-dev+u...@googlegroups.com
> <mailto:reo-dev%2Bunsu...@googlegroups.com>.
> For more options, visit this group at
> http://groups.google.com/group/reo-dev?hl=en.
>
> --
> You received this message because you are subscribed to the Google
> Groups "reo-dev" group.
> To post to this group, send email to reo...@googlegroups.com
> <mailto:reo...@googlegroups.com>.
> To unsubscribe from this group, send email to
> reo-dev+u...@googlegroups.com
> <mailto:reo-dev%2Bunsu...@googlegroups.com>.
> For more options, visit this group at
> http://groups.google.com/group/reo-dev?hl=en.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "reo-dev" group.
> To post to this group, send email to reo...@googlegroups.com.
> To unsubscribe from this group, send email to
> reo-dev+u...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/reo-dev?hl=en.
--
Christian Krause
Hasso Plattner Institute for Software Systems Engineering
Prof.-Dr.-Helmert-Str. 2-3
D-14482 Potsdam, Germany
Phone: +49 (0)331-5509-525
<mailto:reo-dev@googlegroups.com>.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/reo-dev?hl=en.
--
You received this message because you are subscribed to the Google
Groups "reo-dev" group.
To post to this group, send email to reo...@googlegroups.com
<mailto:reo-dev@googlegroups.com>.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/reo-dev?hl=en.
--
You received this message because you are subscribed to the Google Groups "reo-dev" group.
To post to this group, send email to reo...@googlegroups.com.
To unsubscribe from this group, send email to reo-dev+unsubscribe@googlegroups.com.
On 10/12/11 17:15, Alireza Farhadi wrote:
> Dear Christian,
>
> Your solution was very useful for me, I think that my dining
> philosopher orchestration network works well, Thanks A Lot.
>
> Now, I feel that understand behavior of Reo channels and
> nodes, properly. For example I was thinking before, a replicator node
> can select non-deterministic-ally one of input channel but when I
> connected two input channels with same source node (but with different
> token value because of existence of transfer channel), this replicator
> node doesn't work anymore but there are still some questions like this:
Reo nodes (both "replicate" and "route" nodes) merge incoming data
items. That means that they allow dataflow at only one of the incoming
channels at a time. If that is not possible (due to some other
constraints) then dataflow through the node is not possible at all. For
example, consider two nodes A and B (both normal "replicate" nodes) and
assume that there are *two* Sync channels from A to B. Then A tries to
replicate data to *both* Sync channels, where as B allows only dataflow
from *one* of them. Since neither the Syncs nor the nodes buffer or lose
data items, the only solution is to allow no dataflow at all (informally
speaking...)
>
> Is that correct to say about the replicator behavior?: if and only if
> one of input channel is active then this channel is copied to all of
> output channels instead of non-deterministic selection because node
> never select so if above condition is satisfied then act.
>
Assume that a node X has two inputs A and B. Then X enforces the
following constraint: either there is flow at A and no flow at B, or the
other way around. Essentially, X mutually excludes dataflow from A and B
(like a logical XOR).
> By the way, as you mentioned about Sync-Drain constraint that are not
> supported in CA generation, what about filter and transform channel
> constraint, I thought that filter and transform channel constraint
> appear in generated CA, I guess. Am I right?
>
Yes, but the converter from Reo to EA has some flaws and may not accept
all constraints that you specify. Simple comparisons or assignments
should work though.
> Regards,
> Alireza Farhadi
Cheers,
Christian
> <mailto:C.Kr...@cwi.nl> <mailto:C.Kr...@cwi.nl
> <mailto:C.Kr...@cwi.nl>>> wrote:
>
> Alireza,
>
> sorry, I did not exactly understand how the connector should
> behave. I guess you don't need any FIFOs because your automaton
> has only one state. I can maybe help you if you either simplify
> the automaton (it is not minimal in the sense that the constraints
> contain redundant inequality checks) or if you shortly explain
> again the intended behavior of the connector informally. Also it
> would be helpful if you say something about the intended dataflow
> directions (this cannot easily inferred from a CA).
>
> cheers,
> christian
>
> ----- Original Message -----
> From: "Alireza Farhadi" <alireza...@gmail.com
> <mailto:alireza...@gmail.com>
> <mailto:alireza...@gmail.com <mailto:alireza...@gmail.com>>>
> To: reo...@googlegroups.com <mailto:reo...@googlegroups.com>
> <mailto:reo...@googlegroups.com>
> <mailto:reo...@googlegroups.com <mailto:reo...@googlegroups.com>>.
>
> To unsubscribe from this group, send email to
> reo-dev+u...@googlegroups.com
> <mailto:reo-dev%2Bunsu...@googlegroups.com>
> <mailto:reo-dev%2Bunsu...@googlegroups.com
> <mailto:reo-dev%252Buns...@googlegroups.com>>.
>
> For more options, visit this group at
> http://groups.google.com/group/reo-dev?hl=en.
>
> --
> You received this message because you are subscribed to the Google
> Groups "reo-dev" group.
> To post to this group, send email to reo...@googlegroups.com
> <mailto:reo...@googlegroups.com>
> <mailto:reo...@googlegroups.com <mailto:reo...@googlegroups.com>>.
>
> To unsubscribe from this group, send email to
> reo-dev+u...@googlegroups.com
> <mailto:reo-dev%2Bunsu...@googlegroups.com>
> <mailto:reo-dev%2Bunsu...@googlegroups.com
> <mailto:reo-dev%252Buns...@googlegroups.com>>.
>
> For more options, visit this group at
> http://groups.google.com/group/reo-dev?hl=en.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "reo-dev" group.
> To post to this group, send email to reo...@googlegroups.com
> <mailto:reo...@googlegroups.com>.
> To unsubscribe from this group, send email to
> reo-dev+u...@googlegroups.com
> <mailto:reo-dev%2Bunsu...@googlegroups.com>.
> For more options, visit this group at
> http://groups.google.com/group/reo-dev?hl=en.
>
>
>
> --
> Christian Krause
> Hasso Plattner Institute for Software Systems Engineering
> Prof.-Dr.-Helmert-Str. 2-3
> D-14482 Potsdam, Germany
>
> Phone: +49 (0)331-5509-525
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "reo-dev" group.
> To post to this group, send email to reo...@googlegroups.com
> <mailto:reo...@googlegroups.com>.
> To unsubscribe from this group, send email to
> reo-dev+u...@googlegroups.com
> <mailto:reo-dev%2Bunsu...@googlegroups.com>.
> For more options, visit this group at
> http://groups.google.com/group/reo-dev?hl=en.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "reo-dev" group.
> To post to this group, send email to reo...@googlegroups.com.
> To unsubscribe from this group, send email to
> reo-dev+u...@googlegroups.com.