Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6707389
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T07:37:59+00:00 2026-05-26T07:37:59+00:00

Given a System that contains two components, A and B, and The System starts

  • 0

Given a System that contains two components, A and B, and

The System starts up A and B concurrently. Now A can go through states {A.Starting, A.Ready}, and B can be in states {B.Starting, B.DoingX, B.DoingY}. (Events to transition between A’s and B’s states are named accordingly: B.doingx => B goes to B.DoingX etc…)

A and B state machine from yuml.me

I want to model that

  • While A is in A.Starting, or B is in B.Starting, the System is “Starting”
  • The System is in state “DoingX” when A is in A.Ready and B is in B.DoingX
  • The System is in state “DoingY” when A is in A.Ready and B is in B.DoingY

System state machine from yuml.me

If I’m not mistaken, the fork/join pseudo-states could be used here.

But do these model elements have the declarative semantics of the composed state mentioned above? Is there another way to model this?

(Note: the diagrams are from http://yuml.me)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T07:38:00+00:00Added an answer on May 26, 2026 at 7:38 am

    Why don’t you just pull these apart? Here’s another idea on how you could model it (assuming I understood it correctly) :

    • a state “Starting”, that contains the states you refer to as A.Starting and B.Starting in parallel regions (you can use fork/joins here, or just rely on the default behavior of all regions being activated when “Starting” state is entered)

    • another state “Doing” that contains a region with your “A.Ready” state and another parallel region, that contains the two states “B.DoingX” and “B.DoingY”.

    If you really need to have an overall “DoingX” state, then you may have to create two states that correspond to A.Ready.

    Anyways, on a broader perspective: I believe your point of view is a little bit off here, when you say that the “System is in state …”. Rather, the system modeled by such a state machine is in a set of states. So normally, I would be perfectly happy to say that “the system is currently in A.Ready and B.DoingX”.

    Maybe all you need is a change of terminology. What about this:

    The system is in configuration “DoingX” when A.Ready and B.DoingX states are active ?

    In response to the comment: Yes, this is standard, here’s the corresponding part from the superstructure specification (version 2.4 beta):

    In a hierarchical state machine more than one state can be active at the same time. […] the current active “state” is actually represented by a set of trees of states
    starting with the top-most states of the root regions down to the innermost active substate. We refer to such a state tree as
    a state configuration.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How can you keep track of time in a simple embedded system, given that
Given that I don't know at deployment time what kinds of system my code
Given two shorts ( System.Int16 ) short left = short.MaxValue; short right = 1;
Given this: Public Sub timReminder_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) If DateTime.Now()
I have created two partial classes for a web page. Now i have given
Given a table of models 'A', that can have multiple child models 'B', of
I have been given two different Microsoft Word document that my virus scanner has
I have a simple GAE system that contains models for Account, Project and Transaction.
The company I work for develops a system in Delphi, that contains dozens of
I've got a report that can generate over 30,000 records if given a large

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.