Foundations of Agents. Agent World Agent Definitions Agent’s Properties Classification of Agents Agent Autonomy Concurrent Programming.

Slides:



Advertisements
Similar presentations
1 Multithreaded Programming in Java. 2 Agenda Introduction Thread Applications Defining Threads Java Threads and States Examples.
Advertisements

CS 5704 Fall 00 1 Monitors in Java Model and Examples.
Day 08 Operating systems concepts and Processes. Functions of an OS.
Threads Clients Servers Code Migration Software Agents Summary
Threads - Definition - Advantages using Threads - User and Kernel Threads - Multithreading Models - Java and Solaris Threads - Examples - Definition -
CS220 Software Development Lecture: Multi-threading A. O’Riordan, 2009.
Intelligent Agent Systems. Artificial Intelligence Systems that think like humans Systems that think rationally Systems that act like humans Systems that.
Threads vs. Processes April 7, 2000 Instructor: Gary Kimura Slides courtesy of Hank Levy.
Based on Silberschatz, Galvin and Gagne  2009 Threads Definition and motivation Multithreading Models Threading Issues Examples.
Java ThreadsGraphics Programming Graphics Programming: Java Threads.
Applications of agent technology in communications: a review S. S. Manvi &P. Venkataram Presented by Du-Shiau Tsai Computer Communications, Volume 27,
Multithreading in Java Nelson Padua-Perez Chau-Wen Tseng Department of Computer Science University of Maryland, College Park.
© 2004, D. J. Foreman 2-1 Concurrency, Processes and Threads.
1 Threads Chapter 4 Reading: 4.1,4.4, Process Characteristics l Unit of resource ownership - process is allocated: n a virtual address space to.
Multithreading in Java Nelson Padua-Perez Bill Pugh Department of Computer Science University of Maryland, College Park.
Threading in Java – a Tutorial QMUL IEEE SB. Why Threading When we need to run two tasks concurrently So multiple parts (>=2) of a program can run simultaneously.
What is Concurrent Programming? Maram Bani Younes.
A Bridge to Your First Computer Science Course Prof. H.E. Dunsmore Concurrent Programming Threads Synchronization.
9/13/20151 Threads ICS 240: Operating Systems –William Albritton Information and Computer Sciences Department at Leeward Community College –Original slides.
Agent architectures Smarter software for astronomers Alasdair Allan University of Exeter, Exeter, U.K.
Threads in Java. History  Process is a program in execution  Has stack/heap memory  Has a program counter  Multiuser operating systems since the sixties.
Quick overview of threads in Java Babak Esfandiari (extracted from Qusay Mahmoud’s slides)
Multithreading in Java Project of COCS 513 By Wei Li December, 2000.
Lecture 2 Foundations and Definitions Processes/Threads.
© 2004, D. J. Foreman 2-1 Concurrency, Processes and Threads.
Threads Concurrency in Java. What is mult-tasking? Doing more than one task.
111 © 2002, Cisco Systems, Inc. All rights reserved.
Computer Engineering Rabie A. Ramadan Lecture 8. Agenda 2 Introduction Thread Applications Defining Threads Java Threads and States Priorities Accessing.
 2004 Deitel & Associates, Inc. All rights reserved. 1 Chapter 4 – Thread Concepts Outline 4.1 Introduction 4.2Definition of Thread 4.3Motivation for.
Advanced Computer Networks Topic 2: Characterization of Distributed Systems.
C o n f i d e n t i a l 1 Course: BCA Semester: III Subject Code : BC 0042 Subject Name: Operating Systems Unit number : 1 Unit Title: Overview of Operating.
C20: Threads see also: ThreadedBallWorld, DropTest, Tetris source examples Not covered: advanced stuff like notify/notifyAll.
1 Object Oriented Programming Lecture XII Multithreading in Java, A few words about AWT and Swing, The composite design pattern.
Multithreading in Java Sameer Singh Chauhan Lecturer, I. T. Dept., SVIT, Vasad.
OPERATING SYSTEMS Frans Sanen.  Recap of threads in Java  Learn to think about synchronization problems in Java  Solve synchronization problems in.
15.1 Threads and Multi- threading Understanding threads and multi-threading In general, modern computers perform one task at a time It is often.
Concurrency Control 1 Fall 2014 CS7020: Game Design and Development.
Introduction to Operating Systems and Concurrency.
SurfaceView.
Threads Eivind J. Nordby University of Karlstad Inst. for Information Technology Dept. of Computer Science.
Multithreaded Programing. Outline Overview of threads Threads Multithreaded Models  Many-to-One  One-to-One  Many-to-Many Thread Libraries  Pthread.
Overview of Operating Systems Introduction to Operating Systems: Module 0.
Multi-Threading in Java
13-1 Chapter 13 Concurrency Topics Introduction Introduction to Subprogram-Level Concurrency Semaphores Monitors Message Passing Java Threads C# Threads.
1 OS Review Processes and Threads Chi Zhang
Silberschatz, Galvin and Gagne ©2013 Operating System Concepts – 9 th Edition Chapter 4: Threads.
Multithreading & Synchronized Algoritma Pemrograman 3 Sistem Komputer – S1 Universitas Gunadarma 1.
Multithreading. Multitasking The multitasking is the ability of single processor to perform more than one operation at the same time Once systems allowed.
Operating Systems Unit 2: – Process Context switch Interrupt Interprocess communication – Thread Thread models Operating Systems.
CSC CSC 143 Threads. CSC Introducing Threads  A thread is a flow of control within a program  A piece of code that runs on its own. The.
Software Design 13.1 From controller to threads l Threads are lightweight processes (what’s a process?)  Threads are part of a single program, share state.
Concurrency in Java MD. ANISUR RAHMAN. slide 2 Concurrency  Multiprogramming  Single processor runs several programs at the same time  Each program.
Processes Chapter 3. Processes in Distributed Systems Processes and threads –Introduction to threads –Distinction between threads and processes Threads.
Lecture 5. Example for periority The average waiting time : = 41/5= 8.2.
Chapter 4 – Thread Concepts
A brief intro to: Parallelism, Threads, and Concurrency
Multithreading / Concurrency
Lecture 9 Object Oriented Programming Using Java
Chapter 4 – Thread Concepts
Multithreaded Programming in Java
Operating System Concepts
Threads, SMP, and Microkernels
Symmetric Multiprocessing (SMP)
Mobile Agents.
What is Concurrent Programming?
Concurrency, Processes and Threads
- When you approach operating system concepts there might be several confusing terms that may look similar but in fact refer to different concepts:  multiprogramming, multiprocessing, multitasking,
Lecture 19 Threads CSE /6/2019.
CMSC 202 Threads.
Java Chapter 3 (Estifanos Tilahun Mihret--Tech with Estif)
Presentation transcript:

Foundations of Agents

Agent World Agent Definitions Agent’s Properties Classification of Agents Agent Autonomy Concurrent Programming

Agent World

Agent Definitions No concensus definition An agent is a computatioal entity which –Acts on behalf of a person or other entities in an autonomous fashion –Performs its action with some level of proactivite and/or reactiveness –Exhibits some level of the key attributes of learning, cooperation and mobility

Properties Autonomous Interactive Adaptive Sociable Mobile Proxy Reactive Proactive

Properties Intelligent Rational Unpredictable Temporally Continuous Learning Coordinative Cooperative Competitive Trustworthy

Classification of Agents

Autonomy Absolute Autonomy Social Autonomy Interface Autonomy Execution Autonomy Design Autonomy

Concurrent Programming Computing System Processes Threads Synchronization Examples

Computing System

Processes A process is program code that is in some state of execution. It has own address space, some or all of which are mapped by the OS into main memory. It has a single Thread or Flow of control.

Processor Single processor machine –Multitasking –MultiThreading –Concurrent Programming Multi-processor machine –Parallel Programming

Threads class A extends Thread { public void run() {...} } Class A implements Runnable { public void run() {...} } Main program: A a = new A(); a.start();

Thread methods To stop a thread: –Interrupt() To block a thread: –sleep(millisecond) –wait() –join()