A Practical Process for Simulation Component Reuse

Slides:



Advertisements
Similar presentations
Complexity. P=NP? Who knows? Who cares? Lets revisit some questions from last time – How many pairwise comparisons do I need to do to check if a sequence.
Advertisements

Lecture 24 MAS 714 Hartmut Klauck
2003 Fall SIW The Process for Coercing Simulations Sarah Waziruddin, University of Virginia David Brogan, University of Virginia Paul Reynolds, University.
Presented by: Thabet Kacem Spring Outline Contributions Introduction Proposed Approach Related Work Reconception of ADLs XTEAM Tool Chain Discussion.
Background information Formal verification methods based on theorem proving techniques and model­checking –to prove the absence of errors (in the formal.
EconS 529 Research Methods Fall semester Introductory Lecture.
1 Introduction to Computability Theory Lecture12: Reductions Prof. Amos Israeli.
Algorithms and Problem Solving-1 Algorithms and Problem Solving.
UMass Lowell Computer Science Advanced Algorithms Computational Geometry Prof. Karen Daniels Spring, 2004 Project.
Computational Complexity, Physical Mapping III + Perl CIS 667 March 4, 2004.
1 Backdoors To Typical Case Complexity Ryan Williams Carnegie Mellon University Joint work with: Carla Gomes and Bart Selman Cornell University.
Lecture Nine Database Planning, Design, and Administration
Chapter 9 Database Planning, Design, and Administration Sungchul Hong.
Database System Development Lifecycle © Pearson Education Limited 1995, 2005.
Overview of the Database Development Process
A Practical Process for Simulation Component Reuse Dissertation Proposal Presentation by Robert G. Bartholet 27 May 2005.
Database Planning, Design, and Administration Transparencies
Major objective of this course is: Design and analysis of modern algorithms Different variants Accuracy Efficiency Comparing efficiencies Motivation thinking.
2004 Fall Simulation Interoperability Workshop In Search of the Philosopher’s Stone: Simulation Composability Versus Component-Based Software Design M.
A Generalized Architecture for Bookmark and Replay Techniques Thesis Proposal By Napassaporn Likhitsajjakul.
Formal Verification. Background Information Formal verification methods based on theorem proving techniques and model­checking –To prove the absence of.
Chapter 9 Database Planning, Design, and Administration Transparencies © Pearson Education Limited 1995, 2005.
1 The XMSF Profile Overlay to the FEDEP Dr. Katherine L. Morse, SAIC Mr. Robert Lutz, JHU APL
BAHIR DAR UNIVERSITY Institute of technology Faculty of Computing Department of information technology Msc program Distributed Database Article Review.
Introduction to Machine Learning, its potential usage in network area,
Requirements Specification
Advanced Algorithms Analysis and Design
The NP class. NP-completeness
P & NP.
OPERATING SYSTEMS CS 3502 Fall 2017
Algorithms and Problem Solving
Developing Problem Statement for Dissertation
Presentation Title Your Name
A Study of Group-Tree Matching in Large Scale Group Communications
Hard Problems Introduction to NP
Distribution and components
Component Based Software Engineering
Object oriented system development life cycle
Software What Is Software?
Relational Algebra 461 The slides for this text are organized into chapters. This lecture covers relational algebra, from Chapter 4. The relational calculus.
Model-Driven Analysis Frameworks for Embedded Systems
NP-Completeness Yin Tat Lee
The Extensible Tool-chain for Evaluation of Architectural Models
Tools of Software Development
Concurrent Graph Exploration with Multiple Robots
Data Integration with Dependent Sources
Introduction Artificial Intelligent.
Logical architecture refinement
The Subset Sum Game Revisited
TOP 10 INNOVATIVE PEDAGOGIES
Objective of This Course
CSc4730/6730 Scientific Visualization
Internet of Things A Process Calculus Approach
Object oriented analysis and design
Title: Thesis Template
Community Project Guide to Coaching Sessions
SE2811 Software Component Design Dr. Rob Hasker
CS 8532: Advanced Software Engineering
Topics in Formal Reasoning for Cyber-Physical Systems
CS 188: Artificial Intelligence Fall 2008
NP-Completeness Yin Tat Lee
Automated Analysis and Code Generation for Domain-Specific Models
CIS 4328 – Senior Project 2 And CEN Engineering of Software 2
NP-Completeness Reference: Computers and Intractability: A Guide to the Theory of NP-Completeness by Garey and Johnson, W.H. Freeman and Company, 1979.
Complexity Theory in Practice
Chenchen Xi CNC Supervisor: Prof. John R. Gurd
Applying principles of computer science in a biological context
Agenda Software development (SD) & Software development methodologies (SDM) Orthogonal views of the software OOSD Methodology Why an Object Orientation?
Debate issues Sabine Mendes Lima Moura Issues in Research Methodology
Early Midterm Some Study Reminders.
Presentation transcript:

A Practical Process for Simulation Component Reuse Dissertation Proposal Presentation by Robert G. Bartholet 27 May 2005 Introduce the title of this work.

Paul F. Reynolds, Jr., Advisor Committee Members Worthy N. Martin, Chair Paul F. Reynolds, Jr., Advisor John C. Knight David C. Brogan Harsha K. Chelliah Ernest H. Page 5 second slide...thank the committee, and take a second to introduce Ernie to the group and thank him for coming down from NoVa

Thesis Statement Component selection, applied to reusable simulation components, can be enhanced significantly by including considerations for the utility of component adaptation, simulation specific attributes, and other features that have not been considered in traditional approaches to component selection. Just show it, give the committee a few seconds to read it, and tell them that we'll revisit it later in the presentation

Thesis Statement Component selection, applied to reusable simulation components, can be enhanced significantly by including considerations for the utility of component adaptation, simulation specific attributes, and other features that have not been considered in traditional approaches to component selection. Just show it, give the committee a few seconds to read it, and tell them that we'll revisit it later in the presentation

M&S Reuse in the Ideal World REQUIREMENTS S1 SIMULATION COMPONENT DATABASE SIMULATION COMPONENT DEVELOPERS COMPONENT SELECTION TOOL BEST PRACTICES S2 THEORY . . . Sn Explain how an ideal M&S reuse system would work. IDEAL FEDERATION

What is Available? State that these are some examples of state-of-the-art. Use this as a basis for why the state of the art is inadequate.

APPLICATION GENERATORS VERY HIGH LEVEL LANGUAGES Software Reuse TRANSFORMATION SCAVENGING S/W ARCHITECTURES COMPONENTS APPLICATION GENERATORS A very short background on reuse 7 types of reuse (Krueger 1992) S/W SCHEMAS VERY HIGH LEVEL LANGUAGES Krueger, 1992

Related Work Metrics and Models Component Representation Selection Techniques I have broken down previous s/w research relating to this work and categorized it in the proposal according to these 3 bullets...(state in a clause what each bullet means.) The number of works is too many to list here, but for the purpose of this presentation, let's just say this ground is well covered with respect to general software research.

Reuse Exemplars The exemplars for reuse are gui widgets, unix, and math libraries....successful because conceptually simple components, well understood context for use, clearly defined interfaces

Motivation Popular approach to reuse...these illustrate a couple of the reuse challenges. On the left, the pieces are close to fitting together, but not exactly so it won't work without adaptation....on the right, they fit together perfectly, but the composition is not meaningful.

Simulation Composability Component Selection (CS) REQUIREMENTS CS: Is there a subset of X of cardinality k or less that covers R? R X r4 x1 x2 r1 Example instance when k = 3. x4 x3 r2 x5 CS is NP-complete. Proof: reduction from SAT (Page and Opper 1999) and MSC (Petty et al. 2003). CS can be approximated using GREEDY (Fox et al. 2004). r3 r5 x6 Recently M&S community has focused on composability...this slides takes a formal look at composability component selection. r6 x7 x8 r7 r8

Composability Assumptions Component selection in the context of simulation composability is inflexible. Components are immutable. There exists a master set of components from which all possible sets of requirements can be satisfied. Requirements are known a priori and do not change. State the implied assumptions of traditional composability. Tell them up front that we need to consider adaptation to overcome the inflexibility.

Thesis Statement Component selection, applied to reusable simulation components, can be enhanced significantly by including considerations for the utility of component adaptation, simulation specific attributes, and other features that have not been considered in traditional approaches to component selection. This completes the background and motivation for my work. Here's the thesis statement again.

Applied Simulation Component Reuse (ASCR) Exploiting simulation specific characteristics and adaptation changes component selection! Leverage simulation specific characteristics in component reuse Exploit adaptability of components to satisfy requirements. What have we gained? We no longer have to assume the existence of a master set of components. We can more flexibly react to changing requirements. We can pre-select components based on over-arching simulation specific requirements. But… I have defined a process called ASCR. Here are the key components of this process.

ASCR Model BEHAVIOR DETERMINATION FUNCTION BEHAVIOR MAPPING FUNCTION Currently no model exists that explains simulation component reuse from beginning to end. I have begun to build a model, with which we can reason about ASCR. Don't want to make this slide too busy defining all the notation, so I'll walk the committee through the functions verbally. I am assuming they have seen these in the proposal so I won't dive in deep here. UTILITY FUNCTION

Assumptions and Notation θ: Upper bound on the number of requirements that can be satisfied by any one component. β: scaling factor which captures the change in utility encountered when a component satisfies multiple requirements uxyz: the utility of the xth component satisfying requirement y while satisfying z-1 other requirements. Preparation for the next set of slides.

Adapting Components to Satisfy Requirements CS CS-ASCR θ=3 r1 r2 r3 r4 r5 r6 r7 x2 r1 r3 r4 r2 r5 r6 R x1 x3 x4 x8 x2 x6 x7 x5 r7 X Recall that we need to consider the utility of adaptation in selecting components. On the left is the composability CS problem seen earlier. Note that x1 only satisfies r1. In ASCR, theoretically we can adapt any component to meet any requirement. We can now consider components that are close but don't exactly satisfy requirements as candidates for satisfying those same requirements. In this example, we can consider x1 as a candidate for r4 and r5.

Computing Utilities CS CS-ASCR r1 r2 r3 r4 r5 r6 r7 R X r4 x1 x2 r1 x4 Explain how once we decide which components are candidates for which requirements, we use the utility functions to get utility values for each possible component scenario. x7 θ=3 β reduces the number of computed utilities. x8 r7

Building a Bin View θ=3 r1 r2 r3 r4 r5 r6 r7 r1 r2 r3 r4 r5 r6 r7 x1 COMPONENTS r1 r2 r3 r4 r5 r6 r7 x1 x2 x3 x4 r1 r2 r3 r4 r5 r6 r7 u111 u221 u112 u222 u223 u113 u321 u322 u323 u331 u332 u333 u432 u431 u433 u441 u442 u443 u251 u252 u253 u461 u462 u463 u261 u262 u263 u171 u172 u173 u371 u372 u373 x1 x2 x3 x4 X REQUIREMENTS r1 r2 r3 r4 r5 r6 r7 R Here's a complete example. Note that x1 is only a candidate for 2 requirements.

Building a Set View Scenario for x2 r1 r2 r3 r4 r5 r6 r7 C u111 u221 We can transform the bin view in polynomial time into the set view. Each subset is a possible scenario for a given component.

CS-ASCR Definition CS-ASCR (Informal): Is there an exact cover of R, constructed by choosing no more than 1 element from each Ci, with a total utility greater than k? CS-ASCR is NP-complete (Bartholet et al. submitted to ACM/IEEE WSC 2005). Proof: By reduction from X3C. Optimization problem is NP-hard. Now we have the component selection problem for ASCR. Here's a possible satisfying instance of CS-ASCR. Give the complexity result. C u112 u222 u171 u222 u111 u172 u221 u251 u261 u252 u262 r1 C1 R r2 C2 r7 u433 u462 u223 u252 u371 u331 u321 u442 u463 u263 r3 u443 u432 u432 u262 u253 r4 C3 C4 r5 u332 u323 u332 u372 u373 u442 u431 u461 u441 r6 u372 u322 u322 u333 u462

Interesting Effects of θ and β θ = 1, CS-ASCR is in P θ = 2, complexity of CS-ASCR is open θ >= 3 but bounded, CS-ASCR is NP-complete θ is unbounded, CS-ASCR is exponential β β=1, CS-ASCR is in P Discuss how I have begun an investigation into the effects of some of the CS-ASCR assumptions.

Generalizing the Result Modified definition of θ: utility can be dependent on selection of other components. r1 r2 r3 r4 r5 r6 r7 r8 θ=3 x1 x3 x6 CS-ASCR-X: ASCR component selection with the modified θ. Corollary: CS-ASCR-X when θ >= 3 is at least NP-complete (by reduction from X3C). x6 x7 x6 x4 x2 Discuss how I have generalized the result into one of dependencies in the face of optimizing weights while selecting components. Overall analysis: Adaptation brings flexibility to component selection, but the problem is still inherently intractable. Will search for efficient, good (non-optimal) solutions.

Leveraging Simulation Properties Stochastic sampling Time Event generation I will leverage simulation unique characteristics.

Example of Leveraging Time LOW UTILITY LANCHESTER ATTRITION CALCULATED EVERY HOUR OF LOGICAL TIME Requirement 1: Model ground combat. Requirement 2: Model air combat. Requirement A: Provide up-to-date conflict adjudication data no less than once per minute. XX MODEL GC1 X STOCHASTIC ATTRITION AGGREGATED EVERY 5 MINUTES OF LOGICAL TIME HIGH UTILITY HIGH UTILITY STOCHASTIC ATTRITION AGGREGATED EVERY 10 MINUTES OF LOGICAL TIME Gotta build the "home run" slide here giving an example of how to leverage sim specific characteristics with adaptation to do component selection. This slide must convince the committee that there is research potential here. MODEL GC2 MODEL AC1

Example of Leveraging Time TIME SCALE FACTORED INTO COMPONENT SELECTION PRE-SELECTION Gotta build the "home run" slide here giving an example of how to leverage sim specific characteristics with adaptation to do component selection. This slide must convince the committee that there is research potential here. MODEL GC2 MODEL AC1

Research Areas of Focus Define the problem Define the process Characterize complexity of ASCR Component selection Sim Specific Characteristics Adaptation Restate the research agenda.

Measures of Success Accurately formalized ASCR problem Defined a practical ASCR process Built practical methods for component selection Developed useful utility functions Analyzed complexity of critical algorithms in ASCR Here's how I'll know when I'm done. Remind the committee that the threads of leveraging adaptation and sim specific chars remain throughout these measures.

Expected Contributions Creation of a methodology that significantly improves state of simulation component reuse and provides practical methods for component selection Improved understanding of complexity of component selection Demonstration of how simulation specific properties can be leveraged in component selection Here are the expected contributions. Talk through each.

Publication Efforts Bartholet, Brogan, Reynolds, Carnahan. In Search of the Philosopher's Stone: Simulation Composability Versus Component Based Software Design. Proceedings of the Fall 2004 Simulation Interoperability Workshop, Orlando, FL, September 2004. Brogan, Reynolds, Bartholet, Carnahan, Loitière. Semi-automated Simulation Transformation for DDDAS. Proceedings of the 5th International Conference on Computational Science, Atlanta, GA, May 2005. Bartholet, Reynolds, Brogan. The Computational Complexity of Component Selection in Simulation Reuse. Submitted to the ACM/IEEE 2005 Winter Simulation Conference, Orlando, FL, December 2005. Bartholet, Kuang, Son. Intelligent Decentralized Update Management in Real-Time Embedded Applications. Working Draft Completed. Submission in August 2005 to conference TBD.

Conclusion Component selection, applied to reusable simulation components, can be enhanced significantly by including considerations for the utility of component adaptation, simulation specific attributes, and other features that have not been considered in traditional approaches to component selection. Restate my thesis in conclusion.

Discussion