You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by David's accounts <ac...@intentionperception.org> on 2014/03/17 02:04:10 UTC

SCXML: Verifying numeric constraints?

There are several projects that use SCXML to represent processes, and
verify that the processes satisfy various constraints. And I believe
several of these projects use Commons SCXML.

My question is how should a process be encoded using SCXML to enable
verification of *numeric* constraints? For example, in the one use case for
Commons SCXML on the site, which is a state machine representing a
stopwatch, how might one verify that the display never shows, say, -1 ?

I can imagine a very complicated solution in which every possible numeric
value has its own state, but I really doubt that's what existing projects
do.

David

btw, I tried Googling "scxml numeric site:mail-archives.apache.org"