4-Workflows.pdf - Workflows Introduction to Computational Thinking and Data Science Lecture 4 Yolanda Gil [email protected] Today\u2019s Topics 1 Workflows 2

4-Workflows.pdf - Workflows Introduction to Computational...

This preview shows page 1 - 15 out of 42 pages.

Workflows Introduction to Computational Thinking and Data Science Lecture 4 Yolanda Gil [email protected]
Image of page 1
Today’s Topics 1. Workflows 2. Computational workflows 3. Benefits of using workflows 4. Workflow systems 2
Image of page 2
Programs as Black Boxes: Functions with Inputs, Outputs, and Parameters 3
Image of page 3
Composing Functions 4 CompA CompB CompB CompB CompA
Image of page 4
A Workflow is a Composition of Functions
Image of page 5
“Workflow” Is a Common Term to Denote Organized Activities 6
Image of page 6
Many Meanings of Workflow 1. Workflows of human activities u Eg, checking patient in hospital u Eg, scanning a document 2. Workflows of web services u Eg, integration of business services u Eg, accessing databases in biology 3. Workflows composed of programs u Eg, encrypt each sentence in a document
Image of page 7
2. Computational Workflows 8
Image of page 8
Computational Workflows u Workflow is represented as a graph of connected nodes u Nodes represent programs and data (alternatively) u Links represent how data flows from program to program (output to input) u Computational workflows are compositions of programs u No user interaction during execution u No cycles allowed! Program1 Program2 DataB Program3 DataC Input DataA Output DataH Program4 DataE DataF Output DataG 9
Image of page 9
Not a Computational Workflow Code1 Code2 DataA Code3 DataB 10
Image of page 10
Workflow Component u A workflow component represents a function (or computation) in the workflow that is implemented as a program with inputs, parameters and outputs 11
Image of page 11
Example: Document Similarity 12
Image of page 12
CLASS EXERCISE: Sketch a Workflow u Suppose you are buying tickets online for an event u Getting information about dates and times for the event u Reserving the seats u Paying for the tickets u Getting the tickets mailed to you 13
Image of page 13
CLASS EXERCISE: Sketch a Workflow u Suppose you are buying tickets online for an event u Getting information
Image of page 14

Want to read all 42 pages?

Image of page 15

Want to read all 42 pages?

You've reached the end of your free preview.

Want to read all 42 pages?

  • Fall '17
  • u Eg

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes