Homepage – Updated 10-24 Forums Cause Effect Modeling (CEM) with IQM Modeling Simplifying the Logic in a Cause Effect Model

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #4473
    Matt Dahl
    Keymaster

    There is an opportunity for simplification of the logic within Cause Effect models. Below we will review one of the most common situations in which logic simplification can be utilized in Cause Effect modeling.

    Given the following example Requirements.

      REQ1 – From the Home Page if the User Selects the “Next” button then display “Page 2”.
      REQ2 – From the Home Page if the User Selects the “Page 2” hyperlink then display “Page 2”.

    We begin by taking REQ1 one step at a time which is represented in the Cause Effect Model as follows.

    1) From the Home Page (A) if the User Selects the “Next” button then display “Page 2”.

    REQ1_1

    2) From the Home Page if the User Selects the “Next” button (B) then display “Page 2”.

    REQ1_2

    3) From the Home Page if the User Selects the “Next” button then display “Page 2” (X).

    REQ1_3

    After incorporating REQ2 one step at a time into the Cause Effect model with REQ1 the model is as follows.

    REQ1 and 2
    Note: “…the User Selects the “Page 2” hyperlink…” is represented as C.

    We can represent this model in Boolean form as follows.
    (A and B) or (A and C) = X
    Based on the rules for Boolean algebra simplification we can then refactor this formula into the following.
    A and (B or C) = X
    This new refactored simplified formula is represented in the Cause Effect model as follows.

    After refactoring.
    Final

    Before refactoring.
    Before Comparison

    Overall, this simplification of the logic will not be noticeable in as simple of a model as the example we created. However, in more complex models when this simplification applies there will be a noticeable improvement in generation time. In general, one way to remember this approach is to remember the statement “OR’s before AND’s”.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.

Tags


You may also like

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}

Get in touch with our team!

By entering your personal details, you are consenting to have Critical Logic periodically send you our company newsletter and related information.

Name*
Email*
Message
0 of 350
>