Skip to main content
QUICK REVIEW

[Paper Review] ACME vs PDDL: support for dynamic reconfiguration of software architectures

Jean-Eudes Méhus, Thaı́s Batista|arXiv (Cornell University)|Jun 1, 2012
AI-based Problem Solving and PlanningComputer Science23 references5 citations
TL;DR

This paper enhances PDDL-based planning for dynamic software architecture reconfiguration by integrating ACME's structural constraints and types directly into the planning model. It introduces static validation of architectural invariants and encodes constraints into PDDL preconditions and derived predicates, ensuring planners generate only valid, consistent reconfiguration sequences—demonstrated with a client-server example and validated across 65 planners, where 17 correctly generated the 4-action plan despite limited PDDL feature support.

ABSTRACT

On the one hand, ACME is a language designed in the late 90s as an interchange format for software architectures. The need for recon guration at runtime has led to extend the language with speci c support in Plastik. On the other hand, PDDL is a predicative language for the description of planning problems. It has been designed in the AI community for the International Planning Competition of the ICAPS conferences. Several related works have already proposed to encode software architectures into PDDL. Existing planning algorithms can then be used in order to generate automatically a plan that updates an architecture to another one, i.e., the program of a recon guration. In this paper, we improve the encoding in PDDL. Noticeably we propose how to encode ADL types and constraints in the PDDL representation. That way, we can statically check our design and express PDDL constraints in order to ensure that the generated plan never goes through any bad or inconsistent architecture, not even temporarily.

Motivation & Objective

  • To address the lack of constraint support in existing PDDL-based reconfiguration planning, where planners may generate invalid or inconsistent reconfiguration sequences.
  • To extend PDDL encoding of software architectures to include ACME’s type system, architectural styles, and invariants such as component binding and connector constraints.
  • To ensure reconfiguration plans remain consistent with architectural invariants at all times, including during transient states, by statically verifying constraints and embedding them into planning preconditions.
  • To evaluate the feasibility and correctness of the enhanced PDDL encoding using real planners, despite limited PDDL standard support in current tools.

Proposed method

  • The authors map ACME’s component-and-connector architecture model, including types, ports, roles, and bindings, into PDDL predicates and fluents.
  • They define derived PDDL predicates such as unbound-port and unbound-role using quantified logical formulas to represent architectural state without explicit action effects.
  • Constraints from ACME (e.g., type safety, client-server style) and architectural invariants are encoded as preconditions in PDDL actions and validated statically.
  • The approach avoids PDDL derived predicates in favor of expanded, explicit encodings to maximize planner compatibility, especially with those not supporting derived predicates.
  • The method uses quantifier expansion and negation handling via additional predicates to maintain compatibility with planners that do not support negated preconditions.
  • The authors evaluate the encoding on a client-server reconfiguration example, using 65 planners from the 2011 International Planning Competition, measuring plan correctness and performance.

Experimental results

Research questions

  • RQ1Can PDDL be extended to natively encode ACME’s architectural constraints, including types and architectural styles, to ensure valid reconfiguration plans?
  • RQ2How can architectural invariants be enforced throughout the reconfiguration process, including during transient states, to prevent invalid or inconsistent configurations?
  • RQ3To what extent do existing planners support the extended PDDL features required for constraint-aware reconfiguration planning?
  • RQ4Can static validation of constraints be effectively combined with PDDL planning to eliminate invalid plans at compile time?

Key findings

  • Out of 65 evaluated planners, 17 successfully generated the correct 4-action reconfiguration plan for the client-server example without constraints, demonstrating feasibility of the encoding.
  • Only one planner supported derived predicates (e.g., unbound-port), indicating limited adoption of this PDDL feature in current planning tools.
  • No planner supported constraint encoding via preconditions, highlighting a gap in PDDL standard implementation despite the features being semantically sound.
  • Negative preconditions were unsupported by six planners, but the authors show they can be emulated via additional predicates and effects.
  • The performance of correct planners was acceptable, with most solving the example in under 300 ms on a standard PC, except one that took 2.5 seconds.
  • The results suggest that while current planners lack full PDDL feature support, the proposed encoding is compatible with most and can be adapted using standard transformations like quantifier and negation expansion.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.