SlideShare a Scribd company logo
1 of 18
Download to read offline
Introduction
                   Tools




Towards Print Production Simulation

          Giordano B. Beretta

        Print Production Automation Lab
         Hewlett-Packard Laboratories
               Palo Alto, California


               27 May 2010




             G. Beretta    PPAL Commercial Print Automation Project
A Paradigm Shift in Printing
                                  Introduction
                                                    Main Point
                                         Tools
                                                    Agenda


Conventional Printing


      Printing is an industrial manufacturing process
      Key to success is an optimized workflow
      Workflows have been been perfected over centuries
      Employ highly skilled workers
      Interface: purchasers and sales representatives

      client      art director             graphic artist           purchasing

                                                                                         contract

                                              plant
    fulfillment   press operator                                      sales rep
                                             manager




                                   G. Beretta       PPAL Commercial Print Automation Project
A Paradigm Shift in Printing
                          Introduction
                                         Main Point
                                 Tools
                                         Agenda


Print Services


       Paradigm shift enabled by digital printing
       Combination with e-commerce and services (cloud
       computing); run length can be as low as 1
       Instead of saving work, labor-saving devices permit
       everybody to do their own work (McLuhan)
       Artwork creators are no longer highly skilled

    office worker
                            print                   service
                                                                           print service
         consumer          service                  license
                                                                             provider
                         aggregator                agreement
               pupil




                           G. Beretta    PPAL Commercial Print Automation Project
A Paradigm Shift in Printing
                      Introduction
                                     Main Point
                             Tools
                                     Agenda


Conventional vs. PSP


     metric         conventional           PSP
     creator        designer               laymen + web service
     customer       direct                 indirect contact
     run length     > 500                  >1
     scheduling     simple                 complex
     motivation     business               vanity, hobby
     marketing      CRM                    social network
     expectations   realistic              high
     challenge      cost                   manage expectations




                       G. Beretta    PPAL Commercial Print Automation Project
A Paradigm Shift in Printing
                           Introduction
                                          Main Point
                                  Tools
                                          Agenda


Challenges

   Known:
      Workflow optimization
      Mass customization
      Finishing
   New:
      Complex heterogeneous system
      Emergent model behavior
            behavior caused by the interaction
            between characteristics of different
            models and not intended or foreseen
            by the model
            example: priority inversion between
            threads in a real-time OS
            leads to the invention of new
            scheduling mechanisms

                            G. Beretta    PPAL Commercial Print Automation Project
A Paradigm Shift in Printing
                          Introduction
                                         Main Point
                                 Tools
                                         Agenda


Main Point

      To a print job a print plant looks like a pipeline
      To a print plant a stream of print jobs is a collection of
      processing steps that must be performed in parallel while
      avoiding idle times on resources      scheduling
      The key challenge is to study emergent behavior
      Emergent behavior is discovered through simulation — the
      execution of models

  Definition (amorphous modeling)
  The style of handling heterogeneous models that allows
  various interaction mechanisms to be specified between a
  group of components at the same time is called amorphous

                           G. Beretta    PPAL Commercial Print Automation Project
A Paradigm Shift in Printing
                       Introduction
                                      Main Point
                              Tools
                                      Agenda


Agenda


  Build formal amorphous models of
  print service providers (PSP)
  Discover emergent behavior through
  simulation
  Study emergent behavior through
  trace and debug of real PSP data
  Study PSP data through data mining
  and classification using machine
  learning




                        G. Beretta    PPAL Commercial Print Automation Project
Basics Concepts
                        Introduction
                                       Ptolemy II Concepts
                               Tools
                                       Data Mining Concepts


Typesetter Trade Union

     Kristen Nygaard (1957) and Ole-Johan Dahl (1962)
     First (1962) there was Simula I, a superset of Algol 60, for
     simulating typesetting (discrete event networks)
     Then there was Simula 67 with objects, classes,
     subclasses, virtual methods, co-routines, discrete event
     simulation, and garbage collection
     From Oslo to Palo Alto: Smalltalk, Interlisp, Cedar,
     Modula-2, Oberon — adding threads (true concurrency,
     not just co-routines)
     Side-trip to C++ and Standard Template Library
     Finally: Java and C#


                         G. Beretta    PPAL Commercial Print Automation Project
Basics Concepts
                          Introduction
                                         Ptolemy II Concepts
                                 Tools
                                         Data Mining Concepts


Actor-Oriented Design

      Hewitt & co-worker’s 1973 extension to exploit massively
      parallel computers
      Concurrent execution of objects
      Communication by message passing

  Definition
  An actor is a computational entity that, in response to a
  message it receives, can concurrently:
      send a finite number of messages to other actors
      create a finite number of new actors
      designate the behavior to be used for the next message it
      receives
  Communication is decoupled from sender
                           G. Beretta    PPAL Commercial Print Automation Project
Basics Concepts
                         Introduction
                                        Ptolemy II Concepts
                                Tools
                                        Data Mining Concepts


What is Different?

     First there were interrupt handlers and co-routines
     Basic idea of threads: shared memory and global state
         semaphores (Dijkstra), monitors (Hoare), serializer (Hewitt
         & Atkinson)
     In the actor model, messages are simply sent
         no buffering, no synchronous handshaking
         no ordering, FIFO requires explicit queue actor
         everything is local
         influenced by packet switched networks, PUP
     Message can contain another actor (e.g., resumption,
     a.k.a. continuation, stack frame) to which recipient sends
     response     variable topology
     Behavior: mathematical function to express what an actor
     does when it processes a message
                          G. Beretta    PPAL Commercial Print Automation Project
Basics Concepts
                          Introduction
                                         Ptolemy II Concepts
                                 Tools
                                         Data Mining Concepts


Ptolemy II — What is it?




A laboratory for experimenting with
design techniques of concurrent
embedded systems that mix
technologies, for example
electronics and mechanical
devices




                           G. Beretta    PPAL Commercial Print Automation Project
Basics Concepts
                         Introduction
                                        Ptolemy II Concepts
                                Tools
                                        Data Mining Concepts


Modeling


  Definition
  Modeling is the act of representing a system or subsystem
  formally

  mathematical a set of assertions about properties of the
             system such as its functionality or physical
             dimensions
  constructive defines a computational procedure that mimics a
               set of properties of the system; also called
               executable model or simulation



                          G. Beretta    PPAL Commercial Print Automation Project
Basics Concepts
                        Introduction
                                       Ptolemy II Concepts
                               Tools
                                       Data Mining Concepts


Design



  Definition
  Design is the act of defining a system or subsystem


  Usually this involves defining one or more models of the system
  and refining the models until the desired functionality is
  obtained within a set of constraints




                         G. Beretta    PPAL Commercial Print Automation Project
Basics Concepts
                         Introduction
                                        Ptolemy II Concepts
                                Tools
                                        Data Mining Concepts


Embedded Software



  Definition
  Embedded software is software that resides in devices that are
  not first-and-foremost computers


  A key feature of embedded software is that it engages the
  physical world, and hence has temporal constraints that
  desktop software does not share




                          G. Beretta    PPAL Commercial Print Automation Project
Basics Concepts
                          Introduction
                                         Ptolemy II Concepts
                                 Tools
                                         Data Mining Concepts


MoC and Semantics



  Definition (MoC)
  Executable models are constructed under a model of
  computation, which is the set of “laws of physics” that govern
  the interaction of components in the model

  Definition (Semantics)
  A set of rules that govern the interaction of components is
  called the semantics of the model of computation




                           G. Beretta    PPAL Commercial Print Automation Project
Basics Concepts
                        Introduction
                                       Ptolemy II Concepts
                               Tools
                                       Data Mining Concepts


Programming Paradigm

     Most (but not all) Ptolemy II MoCs support actor-oriented
     design (see slide 9)
     The Ptolemy II abstract syntax is described by models,
     actors, ports, parameters, and channels
     A Ptolemy II model is a set of actors, ports, attributes, and
     connections
     Programming is done graphically, via XML documents, or
     in a conventional programming language
     Ptolemy II features:
         large family of models of concurrency
         not all actors are threads
         communication needs not be strictly asynchronous
         modularity (inner classes, multiple inheritance)

                         G. Beretta    PPAL Commercial Print Automation Project
Basics Concepts
                           Introduction
                                          Ptolemy II Concepts
                                  Tools
                                          Data Mining Concepts


Data Mining


  Definition
  Data mining is the process of extracting patterns from data

  Difference between data mining and statistics:
       Data mining uses machine learning to analyze patterns in
       large data sets, typically stored in databases
           data mining aims at uncovering hidden patterns
      Statistics refers to the collection, analysis, interpretation or
      explanation, and presentation of smaller data sets, typically
      stored in arrays
           statistics aims at testing hypotheses



                            G. Beretta    PPAL Commercial Print Automation Project
Basics Concepts
                         Introduction
                                        Ptolemy II Concepts
                                Tools
                                        Data Mining Concepts


Data Mining Tasks

  Data mining commonly involves four classes of tasks:
   Clustering is the task of discovering groups and structures in
              the data that are in some way or another “similar,”
              without using known structures in the data
  Classification is the task of generalizing known structure to
               apply to new data (common algorithms include
               decision tree learning, nearest neighbor, naive
               Bayesian classification and neural networks)
  Regression Attempts to find a function which models the data
             with the least error
  Association rule learning Searches for relationships between
               variables

                          G. Beretta    PPAL Commercial Print Automation Project

More Related Content

Similar to Towards Print Production Simulation

Jazz Overview- Karthik K
Jazz Overview-  Karthik KJazz Overview-  Karthik K
Jazz Overview- Karthik K
Roopa Nadkarni
 
Simplifying Work Order Management in the Utility Market
Simplifying Work Order Management in the Utility Market Simplifying Work Order Management in the Utility Market
Simplifying Work Order Management in the Utility Market
Capgemini
 
Cloud Service Providers and OpenStack
Cloud Service Providers and OpenStackCloud Service Providers and OpenStack
Cloud Service Providers and OpenStack
Open Stack
 
Bpm the battle 6 juni visie presentaties
Bpm the battle 6 juni visie presentatiesBpm the battle 6 juni visie presentaties
Bpm the battle 6 juni visie presentaties
richard_van_tilborg
 
Oap planning public
Oap planning publicOap planning public
Oap planning public
freemteam
 

Similar to Towards Print Production Simulation (20)

Jazz Overview- Karthik K
Jazz Overview-  Karthik KJazz Overview-  Karthik K
Jazz Overview- Karthik K
 
Intalio|Cloud Overview
Intalio|Cloud OverviewIntalio|Cloud Overview
Intalio|Cloud Overview
 
Lambda Architecture 2.0 Convergence between Real-Time Analytics, Context-awar...
Lambda Architecture 2.0 Convergence between Real-Time Analytics, Context-awar...Lambda Architecture 2.0 Convergence between Real-Time Analytics, Context-awar...
Lambda Architecture 2.0 Convergence between Real-Time Analytics, Context-awar...
 
BPSim Briefing
BPSim BriefingBPSim Briefing
BPSim Briefing
 
Building NLP applications with Transformers
Building NLP applications with TransformersBuilding NLP applications with Transformers
Building NLP applications with Transformers
 
Introduction to BPM
Introduction to BPMIntroduction to BPM
Introduction to BPM
 
Intelligent Business Process Management
Intelligent Business Process ManagementIntelligent Business Process Management
Intelligent Business Process Management
 
Enterprise Integration of Disruptive Technologies
Enterprise Integration of Disruptive TechnologiesEnterprise Integration of Disruptive Technologies
Enterprise Integration of Disruptive Technologies
 
Product information in organizations practical solutions
Product information in organizations   practical solutionsProduct information in organizations   practical solutions
Product information in organizations practical solutions
 
Transform ideas into reality with the HP Z8 Fury G5 Workstation PC
Transform ideas into reality with the HP Z8 Fury G5 Workstation PCTransform ideas into reality with the HP Z8 Fury G5 Workstation PC
Transform ideas into reality with the HP Z8 Fury G5 Workstation PC
 
Simplifying Work Order Management in the Utility Market
Simplifying Work Order Management in the Utility Market Simplifying Work Order Management in the Utility Market
Simplifying Work Order Management in the Utility Market
 
Product Development
Product  DevelopmentProduct  Development
Product Development
 
Converged IoT Systems: Bringing the Data Center to the Edge of Everything
Converged IoT Systems: Bringing the Data Center to the Edge of EverythingConverged IoT Systems: Bringing the Data Center to the Edge of Everything
Converged IoT Systems: Bringing the Data Center to the Edge of Everything
 
Social Technology enables business inside and out.
Social Technology enables business inside and out. Social Technology enables business inside and out.
Social Technology enables business inside and out.
 
Cloud Service Providers and OpenStack
Cloud Service Providers and OpenStackCloud Service Providers and OpenStack
Cloud Service Providers and OpenStack
 
CASE STUDY: How a Major Television Network Cut Printing Costs
CASE STUDY: How a Major Television Network Cut Printing CostsCASE STUDY: How a Major Television Network Cut Printing Costs
CASE STUDY: How a Major Television Network Cut Printing Costs
 
Bpm the battle 6 juni visie presentaties
Bpm the battle 6 juni visie presentatiesBpm the battle 6 juni visie presentaties
Bpm the battle 6 juni visie presentaties
 
Oap planning public
Oap planning publicOap planning public
Oap planning public
 
IBM Rational 8/16 Webinar Presentation
IBM Rational 8/16 Webinar PresentationIBM Rational 8/16 Webinar Presentation
IBM Rational 8/16 Webinar Presentation
 
My last seven years career infographic.
My last seven years career infographic.My last seven years career infographic.
My last seven years career infographic.
 

More from Giordano Beretta

Assessing color reproduction tolerances in commercial print workflow
Assessing color reproduction tolerances in commercial print workflowAssessing color reproduction tolerances in commercial print workflow
Assessing color reproduction tolerances in commercial print workflow
Giordano Beretta
 
Harmonious colors: from alchemy to science
Harmonious colors: from alchemy to scienceHarmonious colors: from alchemy to science
Harmonious colors: from alchemy to science
Giordano Beretta
 
The numerical stability of LUT-based color transformations
The numerical stability of LUT-based color  transformationsThe numerical stability of LUT-based color  transformations
The numerical stability of LUT-based color transformations
Giordano Beretta
 

More from Giordano Beretta (15)

Internet’s impact on publishing
Internet’s impact on publishingInternet’s impact on publishing
Internet’s impact on publishing
 
Assessing color reproduction tolerances in commercial print workflow
Assessing color reproduction tolerances in commercial print workflowAssessing color reproduction tolerances in commercial print workflow
Assessing color reproduction tolerances in commercial print workflow
 
Harmonious colors: from alchemy to science
Harmonious colors: from alchemy to scienceHarmonious colors: from alchemy to science
Harmonious colors: from alchemy to science
 
Validating large-scale lexical color resources
Validating large-scale lexical color resourcesValidating large-scale lexical color resources
Validating large-scale lexical color resources
 
Understanding Color 2010
Understanding Color 2010Understanding Color 2010
Understanding Color 2010
 
The LabPQR Color Space
The LabPQR Color SpaceThe LabPQR Color Space
The LabPQR Color Space
 
The numerical stability of LUT-based color transformations
The numerical stability of LUT-based color  transformationsThe numerical stability of LUT-based color  transformations
The numerical stability of LUT-based color transformations
 
Color naming: color scientists do it between Munsell Sheets of Color
Color naming: color scientists do it between  Munsell Sheets of ColorColor naming: color scientists do it between  Munsell Sheets of Color
Color naming: color scientists do it between Munsell Sheets of Color
 
Towards robust categorical colour perception
Towards robust categorical colour perceptionTowards robust categorical colour perception
Towards robust categorical colour perception
 
Trends in color imaging on the Internet
Trends in color imaging on the InternetTrends in color imaging on the Internet
Trends in color imaging on the Internet
 
Image Processing For Color Facsimile
Image Processing For Color FacsimileImage Processing For Color Facsimile
Image Processing For Color Facsimile
 
Color Imaging on the Internet
Color Imaging on the InternetColor Imaging on the Internet
Color Imaging on the Internet
 
Introduction to MPEG21
Introduction to MPEG21Introduction to MPEG21
Introduction to MPEG21
 
Understanding Color
Understanding ColorUnderstanding Color
Understanding Color
 
Cognitive Aspects of Color
Cognitive Aspects of ColorCognitive Aspects of Color
Cognitive Aspects of Color
 

Recently uploaded

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Recently uploaded (20)

TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 

Towards Print Production Simulation

  • 1. Introduction Tools Towards Print Production Simulation Giordano B. Beretta Print Production Automation Lab Hewlett-Packard Laboratories Palo Alto, California 27 May 2010 G. Beretta PPAL Commercial Print Automation Project
  • 2. A Paradigm Shift in Printing Introduction Main Point Tools Agenda Conventional Printing Printing is an industrial manufacturing process Key to success is an optimized workflow Workflows have been been perfected over centuries Employ highly skilled workers Interface: purchasers and sales representatives client art director graphic artist purchasing contract plant fulfillment press operator sales rep manager G. Beretta PPAL Commercial Print Automation Project
  • 3. A Paradigm Shift in Printing Introduction Main Point Tools Agenda Print Services Paradigm shift enabled by digital printing Combination with e-commerce and services (cloud computing); run length can be as low as 1 Instead of saving work, labor-saving devices permit everybody to do their own work (McLuhan) Artwork creators are no longer highly skilled office worker print service print service consumer service license provider aggregator agreement pupil G. Beretta PPAL Commercial Print Automation Project
  • 4. A Paradigm Shift in Printing Introduction Main Point Tools Agenda Conventional vs. PSP metric conventional PSP creator designer laymen + web service customer direct indirect contact run length > 500 >1 scheduling simple complex motivation business vanity, hobby marketing CRM social network expectations realistic high challenge cost manage expectations G. Beretta PPAL Commercial Print Automation Project
  • 5. A Paradigm Shift in Printing Introduction Main Point Tools Agenda Challenges Known: Workflow optimization Mass customization Finishing New: Complex heterogeneous system Emergent model behavior behavior caused by the interaction between characteristics of different models and not intended or foreseen by the model example: priority inversion between threads in a real-time OS leads to the invention of new scheduling mechanisms G. Beretta PPAL Commercial Print Automation Project
  • 6. A Paradigm Shift in Printing Introduction Main Point Tools Agenda Main Point To a print job a print plant looks like a pipeline To a print plant a stream of print jobs is a collection of processing steps that must be performed in parallel while avoiding idle times on resources scheduling The key challenge is to study emergent behavior Emergent behavior is discovered through simulation — the execution of models Definition (amorphous modeling) The style of handling heterogeneous models that allows various interaction mechanisms to be specified between a group of components at the same time is called amorphous G. Beretta PPAL Commercial Print Automation Project
  • 7. A Paradigm Shift in Printing Introduction Main Point Tools Agenda Agenda Build formal amorphous models of print service providers (PSP) Discover emergent behavior through simulation Study emergent behavior through trace and debug of real PSP data Study PSP data through data mining and classification using machine learning G. Beretta PPAL Commercial Print Automation Project
  • 8. Basics Concepts Introduction Ptolemy II Concepts Tools Data Mining Concepts Typesetter Trade Union Kristen Nygaard (1957) and Ole-Johan Dahl (1962) First (1962) there was Simula I, a superset of Algol 60, for simulating typesetting (discrete event networks) Then there was Simula 67 with objects, classes, subclasses, virtual methods, co-routines, discrete event simulation, and garbage collection From Oslo to Palo Alto: Smalltalk, Interlisp, Cedar, Modula-2, Oberon — adding threads (true concurrency, not just co-routines) Side-trip to C++ and Standard Template Library Finally: Java and C# G. Beretta PPAL Commercial Print Automation Project
  • 9. Basics Concepts Introduction Ptolemy II Concepts Tools Data Mining Concepts Actor-Oriented Design Hewitt & co-worker’s 1973 extension to exploit massively parallel computers Concurrent execution of objects Communication by message passing Definition An actor is a computational entity that, in response to a message it receives, can concurrently: send a finite number of messages to other actors create a finite number of new actors designate the behavior to be used for the next message it receives Communication is decoupled from sender G. Beretta PPAL Commercial Print Automation Project
  • 10. Basics Concepts Introduction Ptolemy II Concepts Tools Data Mining Concepts What is Different? First there were interrupt handlers and co-routines Basic idea of threads: shared memory and global state semaphores (Dijkstra), monitors (Hoare), serializer (Hewitt & Atkinson) In the actor model, messages are simply sent no buffering, no synchronous handshaking no ordering, FIFO requires explicit queue actor everything is local influenced by packet switched networks, PUP Message can contain another actor (e.g., resumption, a.k.a. continuation, stack frame) to which recipient sends response variable topology Behavior: mathematical function to express what an actor does when it processes a message G. Beretta PPAL Commercial Print Automation Project
  • 11. Basics Concepts Introduction Ptolemy II Concepts Tools Data Mining Concepts Ptolemy II — What is it? A laboratory for experimenting with design techniques of concurrent embedded systems that mix technologies, for example electronics and mechanical devices G. Beretta PPAL Commercial Print Automation Project
  • 12. Basics Concepts Introduction Ptolemy II Concepts Tools Data Mining Concepts Modeling Definition Modeling is the act of representing a system or subsystem formally mathematical a set of assertions about properties of the system such as its functionality or physical dimensions constructive defines a computational procedure that mimics a set of properties of the system; also called executable model or simulation G. Beretta PPAL Commercial Print Automation Project
  • 13. Basics Concepts Introduction Ptolemy II Concepts Tools Data Mining Concepts Design Definition Design is the act of defining a system or subsystem Usually this involves defining one or more models of the system and refining the models until the desired functionality is obtained within a set of constraints G. Beretta PPAL Commercial Print Automation Project
  • 14. Basics Concepts Introduction Ptolemy II Concepts Tools Data Mining Concepts Embedded Software Definition Embedded software is software that resides in devices that are not first-and-foremost computers A key feature of embedded software is that it engages the physical world, and hence has temporal constraints that desktop software does not share G. Beretta PPAL Commercial Print Automation Project
  • 15. Basics Concepts Introduction Ptolemy II Concepts Tools Data Mining Concepts MoC and Semantics Definition (MoC) Executable models are constructed under a model of computation, which is the set of “laws of physics” that govern the interaction of components in the model Definition (Semantics) A set of rules that govern the interaction of components is called the semantics of the model of computation G. Beretta PPAL Commercial Print Automation Project
  • 16. Basics Concepts Introduction Ptolemy II Concepts Tools Data Mining Concepts Programming Paradigm Most (but not all) Ptolemy II MoCs support actor-oriented design (see slide 9) The Ptolemy II abstract syntax is described by models, actors, ports, parameters, and channels A Ptolemy II model is a set of actors, ports, attributes, and connections Programming is done graphically, via XML documents, or in a conventional programming language Ptolemy II features: large family of models of concurrency not all actors are threads communication needs not be strictly asynchronous modularity (inner classes, multiple inheritance) G. Beretta PPAL Commercial Print Automation Project
  • 17. Basics Concepts Introduction Ptolemy II Concepts Tools Data Mining Concepts Data Mining Definition Data mining is the process of extracting patterns from data Difference between data mining and statistics: Data mining uses machine learning to analyze patterns in large data sets, typically stored in databases data mining aims at uncovering hidden patterns Statistics refers to the collection, analysis, interpretation or explanation, and presentation of smaller data sets, typically stored in arrays statistics aims at testing hypotheses G. Beretta PPAL Commercial Print Automation Project
  • 18. Basics Concepts Introduction Ptolemy II Concepts Tools Data Mining Concepts Data Mining Tasks Data mining commonly involves four classes of tasks: Clustering is the task of discovering groups and structures in the data that are in some way or another “similar,” without using known structures in the data Classification is the task of generalizing known structure to apply to new data (common algorithms include decision tree learning, nearest neighbor, naive Bayesian classification and neural networks) Regression Attempts to find a function which models the data with the least error Association rule learning Searches for relationships between variables G. Beretta PPAL Commercial Print Automation Project