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 8368469
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T13:23:51+00:00 2026-06-09T13:23:51+00:00

An application I’m working requires complex parametrisation and configuration in order to model custom

  • 0

An application I’m working requires complex parametrisation and configuration in order to model custom parts. There are various interdependencies between different parameters, such as that setting parameter ‘A’ invalidates certain values for ‘B’ and ‘C’, or adds additional constraints for values of parameter ‘D’.

Currently, this is solved by storing all parameters in look up tables, and running rules on them. The rules are hand-written in XML, are loaded and converted to some intermediary format, which is used for the rule engine. Every time a parameter changes, all the rules are rerun.

This is at the same time very slow and error-prone.

I feel that it might be beneficial to use a (DAG) based approach, where we can do updates only on subsets of the graph.

Is this a good idea? Do you know any better approaches? If you have experience with similar problems, how did you solve them?

Edit: I am trying to achieve a design where only dependent subsets of a parameter have to be updated on a change. Currently, the rules are rerun globally on every single change. The parameters are set to defaults, but can be changed by the user. Depending on the value of a parameter, the defaults for others might be different.

  • 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-06-09T13:23:53+00:00Added an answer on June 9, 2026 at 1:23 pm

    Is this a good idea?

    Yes. You can create DAG and do a DFS traversal and figure out the dependency chain.

    Do you know any better approaches?
    If you have experience with similar problems, how did you solve them?

    From what I’ve understood, there is a complex dependency structure which can be modeled by DAG. If any one changes, the dependent components needs to be changed. Compiles have been doing this for years. You might want to look into dependency analysis done by them.

    Another approach can be modeled by Observer pattern. Here each object exposes a way to notify observers if anything has changed. Dependent objects subscribe to notifications. When an event occurs which changes object state, it calls the dependent listeners.

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

Sidebar

Related Questions

Application stores configuration data in custom section of configuration file. This information is used
Application : I am working on one mid-large size application which will be used
My application that is not on Play Store verify on the web If there
APPLICATION DESCRIPTION : I am a new iPhone developer. I am working on an
application.rb config.time_zone = 'Athens' I want to list entries which are published between any
My application has a complex schema for the domain entity. It is required use
Application configuration: Web application using java first method of creating JAX-WS 2.0 Web Services
Application I develop requires several data sources (2 RDBMS and one file storage) to
Application : It has 3 views Views A,B,C. There is a Alert on View
Application, have a TextBlock and two Buttons, the text is displayed TextBlock by clicking

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.