SlideShare a Scribd company logo
1 of 25
Object System Lisp
overview Programmer interface concepts Classes Slots Inheritance Generic functions and methods Introduction to generic functions Introduction to methods Standard method classes and method objects Object creation and initialization Extensions
Programmer interface concepts The common lisp open system(CLOS) is an object-oriented extension to Common Lisp. In the standard programmer interface of CLOS, we have, ,[object Object]
The second part, Functions in  programmers interface, contains a description of the functions and macros in CLOS programmers interface.
The third part, common lisp object system meta-object protocol, explains how the CLOS has to be customized.,[object Object]
The function class-name takes a class object and returns its name Each class has a class precedence list, which is the total ordering on the set of the given class and its super classes. The total ordering is a list ordered from the most specific to least specific.
Defining classes The macro defmacro is used to define a new named class. The definition includes ,[object Object]
List of the directed super classes of the new class
A set of slot specifiers
A set of class optionsThe generic function make-instance creates and returns a new instance of a class.
slots An object that has standard-class as its metaclass has zero or more slots. The slots of an object are determined by the class of the object. Each slot can hold one value. The default initial value of a slot is defined by the :initform slot option.
A local slot is the one that is visible to exactly one instance, namely the one in which the slot is allocated. A shared slot is defined to be a slot that is visible to more than one instance of a given class and its subclasses A slot can be accessed in two ways: ,[object Object]
By use of generic functions generated by the defclass form.,[object Object]
s1 should always be a number.
Class c1 also has a shared slot named s2.,[object Object]
The default initial value of s1 is 5.
The value of s1 will be of type integer.
There are also local slots of named s2 and s3 in instances of c2.
The class c2 has a method for c2-s3 for reading the value of slot s3.,[object Object]
Class precedence list  Array Bit-vector Character Complex Cons Float Function* Hash-table* Integer List Null
Number Package* Pathname* Random-state* Ratio Rational Readtable* Sequence Stream* String Symbol t vector
Introduction to generic functions A generic function object contains a set of methods, lambda-list, a method combination type, and other information. A generic function can be given a global name using the defmethod and defgeneric construct. A generic function can be given a local name using generic-flet, generic-labels, or with-added-method special forms.
Introduction to methods A method object contains a method function, a sequence of parameter specializes which specify when the given method is applicable, a lambda-list and a sequence of qualifiers. A method-defining form contains the code that is to be run when the arguments for the generic function cause the method that it defines to be invoked.
Congruent lambda-list for all methods of a generic function  Each lambda-list must have the same number of required parameters Each lambda-list must have the same number of optional. If any lambda-list mentions &rest or &key, each lambda-list must mention one or both of them. If the generic function lambda-list mentions &key, each method must accept all of the keyword names mentioned after &key, either  by accepting them explicitly, by specifying &allow-other-keys, or by specifying &rest but and &key.
Standard method combination Standard method combination is supported by the class standard-generic-function. Primary functions define the main action of the effective method, while auxiliary methods modify that action in one of three ways: A primary method has no method qualifier. An auxiliary method is a method whose method qualifier is :before, :after, or :around The macro define-method-combination defines new forms of method combinations. It provides an effective method for customizing the production of the effective method.

More Related Content

What's hot

Refactoring bad codesmell
Refactoring bad codesmellRefactoring bad codesmell
Refactoring bad codesmellhyunglak kim
 
Lecture 4_Java Method-constructor_imp_keywords
Lecture   4_Java Method-constructor_imp_keywordsLecture   4_Java Method-constructor_imp_keywords
Lecture 4_Java Method-constructor_imp_keywordsmanish kumar
 
JAVA Notes - All major concepts covered with examples
JAVA Notes - All major concepts covered with examplesJAVA Notes - All major concepts covered with examples
JAVA Notes - All major concepts covered with examplesSunil Kumar Gunasekaran
 
Chapter 13 - Inheritance and Polymorphism
Chapter 13 - Inheritance and PolymorphismChapter 13 - Inheritance and Polymorphism
Chapter 13 - Inheritance and PolymorphismEduardo Bergavera
 
Lecture 8 abstract class and interface
Lecture   8 abstract class and interfaceLecture   8 abstract class and interface
Lecture 8 abstract class and interfacemanish kumar
 
L7 inheritance
L7 inheritanceL7 inheritance
L7 inheritanceteach4uin
 
Inheritance and Polymorphism Java
Inheritance and Polymorphism JavaInheritance and Polymorphism Java
Inheritance and Polymorphism JavaM. Raihan
 
Ppt on this and super keyword
Ppt on this and super keywordPpt on this and super keyword
Ppt on this and super keywordtanu_jaswal
 
Unit3 inheritance
Unit3 inheritanceUnit3 inheritance
Unit3 inheritanceKalai Selvi
 
Lecture - 3 Variables-data type_operators_oops concept
Lecture - 3 Variables-data type_operators_oops conceptLecture - 3 Variables-data type_operators_oops concept
Lecture - 3 Variables-data type_operators_oops conceptmanish kumar
 
Chapter 02: Classes Objects and Methods Java by Tushar B Kute
Chapter 02: Classes Objects and Methods Java by Tushar B KuteChapter 02: Classes Objects and Methods Java by Tushar B Kute
Chapter 02: Classes Objects and Methods Java by Tushar B KuteTushar B Kute
 
packages and interfaces
packages and interfacespackages and interfaces
packages and interfacesmadhavi patil
 
البرمجة الهدفية بلغة جافا - الوراثة
البرمجة الهدفية بلغة جافا - الوراثةالبرمجة الهدفية بلغة جافا - الوراثة
البرمجة الهدفية بلغة جافا - الوراثةMahmoud Alfarra
 
Seminar on java
Seminar on javaSeminar on java
Seminar on javashathika
 

What's hot (20)

Refactoring bad codesmell
Refactoring bad codesmellRefactoring bad codesmell
Refactoring bad codesmell
 
Lecture 4_Java Method-constructor_imp_keywords
Lecture   4_Java Method-constructor_imp_keywordsLecture   4_Java Method-constructor_imp_keywords
Lecture 4_Java Method-constructor_imp_keywords
 
JAVA Notes - All major concepts covered with examples
JAVA Notes - All major concepts covered with examplesJAVA Notes - All major concepts covered with examples
JAVA Notes - All major concepts covered with examples
 
Unit3 part2-inheritance
Unit3 part2-inheritanceUnit3 part2-inheritance
Unit3 part2-inheritance
 
Java session4
Java session4Java session4
Java session4
 
Chapter 13 - Inheritance and Polymorphism
Chapter 13 - Inheritance and PolymorphismChapter 13 - Inheritance and Polymorphism
Chapter 13 - Inheritance and Polymorphism
 
Lecture 8 abstract class and interface
Lecture   8 abstract class and interfaceLecture   8 abstract class and interface
Lecture 8 abstract class and interface
 
My c++
My c++My c++
My c++
 
L7 inheritance
L7 inheritanceL7 inheritance
L7 inheritance
 
Inheritance and Polymorphism Java
Inheritance and Polymorphism JavaInheritance and Polymorphism Java
Inheritance and Polymorphism Java
 
Ppt on this and super keyword
Ppt on this and super keywordPpt on this and super keyword
Ppt on this and super keyword
 
Unit3 inheritance
Unit3 inheritanceUnit3 inheritance
Unit3 inheritance
 
Lecture - 3 Variables-data type_operators_oops concept
Lecture - 3 Variables-data type_operators_oops conceptLecture - 3 Variables-data type_operators_oops concept
Lecture - 3 Variables-data type_operators_oops concept
 
Chapter 02: Classes Objects and Methods Java by Tushar B Kute
Chapter 02: Classes Objects and Methods Java by Tushar B KuteChapter 02: Classes Objects and Methods Java by Tushar B Kute
Chapter 02: Classes Objects and Methods Java by Tushar B Kute
 
packages and interfaces
packages and interfacespackages and interfaces
packages and interfaces
 
Generics in java
Generics in javaGenerics in java
Generics in java
 
البرمجة الهدفية بلغة جافا - الوراثة
البرمجة الهدفية بلغة جافا - الوراثةالبرمجة الهدفية بلغة جافا - الوراثة
البرمجة الهدفية بلغة جافا - الوراثة
 
Seminar on java
Seminar on javaSeminar on java
Seminar on java
 
Java Generics
Java GenericsJava Generics
Java Generics
 
Class and object
Class and objectClass and object
Class and object
 

Viewers also liked

PS3 GAME SCREENSHOT
PS3 GAME SCREENSHOTPS3 GAME SCREENSHOT
PS3 GAME SCREENSHOTangelus_d
 
Snæfellsjökull
SnæfellsjökullSnæfellsjökull
Snæfellsjökullnemandi
 
Aula 9 ferramentas da epidemiologia clínica para um diagnóstico
Aula 9   ferramentas da epidemiologia clínica para um diagnósticoAula 9   ferramentas da epidemiologia clínica para um diagnóstico
Aula 9 ferramentas da epidemiologia clínica para um diagnósticoRicardo Alexandre
 
Alicevieira 120523033823-phpapp02
Alicevieira 120523033823-phpapp02Alicevieira 120523033823-phpapp02
Alicevieira 120523033823-phpapp02becastanheiradepera
 
APRESENTAÇÃO SINERGIAS
APRESENTAÇÃO SINERGIASAPRESENTAÇÃO SINERGIAS
APRESENTAÇÃO SINERGIASsinergias
 
Elogio de la persuasión (en situaciones de discapacidad).
Elogio de la persuasión (en situaciones de discapacidad).Elogio de la persuasión (en situaciones de discapacidad).
Elogio de la persuasión (en situaciones de discapacidad).José María
 

Viewers also liked (9)

PS3 GAME SCREENSHOT
PS3 GAME SCREENSHOTPS3 GAME SCREENSHOT
PS3 GAME SCREENSHOT
 
Cocacola
CocacolaCocacola
Cocacola
 
Mar jonagold
Mar jonagoldMar jonagold
Mar jonagold
 
Snæfellsjökull
SnæfellsjökullSnæfellsjökull
Snæfellsjökull
 
Aula 9 ferramentas da epidemiologia clínica para um diagnóstico
Aula 9   ferramentas da epidemiologia clínica para um diagnósticoAula 9   ferramentas da epidemiologia clínica para um diagnóstico
Aula 9 ferramentas da epidemiologia clínica para um diagnóstico
 
Alicevieira 120523033823-phpapp02
Alicevieira 120523033823-phpapp02Alicevieira 120523033823-phpapp02
Alicevieira 120523033823-phpapp02
 
APRESENTAÇÃO SINERGIAS
APRESENTAÇÃO SINERGIASAPRESENTAÇÃO SINERGIAS
APRESENTAÇÃO SINERGIAS
 
Elogio de la persuasión (en situaciones de discapacidad).
Elogio de la persuasión (en situaciones de discapacidad).Elogio de la persuasión (en situaciones de discapacidad).
Elogio de la persuasión (en situaciones de discapacidad).
 
Guia 01
Guia 01Guia 01
Guia 01
 

Similar to LISP: Object Sytstem Lisp

Similar to LISP: Object Sytstem Lisp (20)

Android Training (Java Review)
Android Training (Java Review)Android Training (Java Review)
Android Training (Java Review)
 
Basic concept of class, method , command line-argument
Basic concept of class, method , command line-argumentBasic concept of class, method , command line-argument
Basic concept of class, method , command line-argument
 
Hemajava
HemajavaHemajava
Hemajava
 
Java chapter 5
Java chapter 5Java chapter 5
Java chapter 5
 
Java
JavaJava
Java
 
OOP, Networking, Linux/Unix
OOP, Networking, Linux/UnixOOP, Networking, Linux/Unix
OOP, Networking, Linux/Unix
 
LectureNotes-02-DSA
LectureNotes-02-DSALectureNotes-02-DSA
LectureNotes-02-DSA
 
Ch-2ppt.pptx
Ch-2ppt.pptxCh-2ppt.pptx
Ch-2ppt.pptx
 
Java Basics
Java BasicsJava Basics
Java Basics
 
9781439035665 ppt ch10
9781439035665 ppt ch109781439035665 ppt ch10
9781439035665 ppt ch10
 
Session 08 - Arrays and Methods
Session 08 - Arrays and MethodsSession 08 - Arrays and Methods
Session 08 - Arrays and Methods
 
Chap11
Chap11Chap11
Chap11
 
C# classes objects
C#  classes objectsC#  classes objects
C# classes objects
 
Java Unit 2(Part 1)
Java Unit 2(Part 1)Java Unit 2(Part 1)
Java Unit 2(Part 1)
 
C# interview
C# interviewC# interview
C# interview
 
Classes2
Classes2Classes2
Classes2
 
Classes & objects new
Classes & objects newClasses & objects new
Classes & objects new
 
Question and answer Programming
Question and answer ProgrammingQuestion and answer Programming
Question and answer Programming
 
Unit 3 Java
Unit 3 JavaUnit 3 Java
Unit 3 Java
 
Java As an OOP Language,Exception Handling & Applets
Java As an OOP Language,Exception Handling & AppletsJava As an OOP Language,Exception Handling & Applets
Java As an OOP Language,Exception Handling & Applets
 

More from LISP Content

LISP: Control Structures In Lisp
LISP: Control Structures In LispLISP: Control Structures In Lisp
LISP: Control Structures In LispLISP Content
 
LISP:Declarations In Lisp
LISP:Declarations In LispLISP:Declarations In Lisp
LISP:Declarations In LispLISP Content
 
LISP: Errors In Lisp
LISP: Errors In LispLISP: Errors In Lisp
LISP: Errors In LispLISP Content
 
LISP: Input And Output
LISP: Input And OutputLISP: Input And Output
LISP: Input And OutputLISP Content
 
LISP: Loops In Lisp
LISP: Loops In LispLISP: Loops In Lisp
LISP: Loops In LispLISP Content
 
LISP: Type specifiers in lisp
LISP: Type specifiers in lispLISP: Type specifiers in lisp
LISP: Type specifiers in lispLISP Content
 
LISP: Symbols and packages in lisp
LISP: Symbols and packages in lispLISP: Symbols and packages in lisp
LISP: Symbols and packages in lispLISP Content
 
LISP: Scope and extent in lisp
LISP: Scope and extent in lispLISP: Scope and extent in lisp
LISP: Scope and extent in lispLISP Content
 
LISP: Program structure in lisp
LISP: Program structure in lispLISP: Program structure in lisp
LISP: Program structure in lispLISP Content
 
LISP: Predicates in lisp
LISP: Predicates in lispLISP: Predicates in lisp
LISP: Predicates in lispLISP Content
 
LISP: Macros in lisp
LISP: Macros in lispLISP: Macros in lisp
LISP: Macros in lispLISP Content
 
LISP: Data types in lisp
LISP: Data types in lispLISP: Data types in lisp
LISP: Data types in lispLISP Content
 
LISP: Introduction To Lisp
LISP: Introduction To LispLISP: Introduction To Lisp
LISP: Introduction To LispLISP Content
 

More from LISP Content (13)

LISP: Control Structures In Lisp
LISP: Control Structures In LispLISP: Control Structures In Lisp
LISP: Control Structures In Lisp
 
LISP:Declarations In Lisp
LISP:Declarations In LispLISP:Declarations In Lisp
LISP:Declarations In Lisp
 
LISP: Errors In Lisp
LISP: Errors In LispLISP: Errors In Lisp
LISP: Errors In Lisp
 
LISP: Input And Output
LISP: Input And OutputLISP: Input And Output
LISP: Input And Output
 
LISP: Loops In Lisp
LISP: Loops In LispLISP: Loops In Lisp
LISP: Loops In Lisp
 
LISP: Type specifiers in lisp
LISP: Type specifiers in lispLISP: Type specifiers in lisp
LISP: Type specifiers in lisp
 
LISP: Symbols and packages in lisp
LISP: Symbols and packages in lispLISP: Symbols and packages in lisp
LISP: Symbols and packages in lisp
 
LISP: Scope and extent in lisp
LISP: Scope and extent in lispLISP: Scope and extent in lisp
LISP: Scope and extent in lisp
 
LISP: Program structure in lisp
LISP: Program structure in lispLISP: Program structure in lisp
LISP: Program structure in lisp
 
LISP: Predicates in lisp
LISP: Predicates in lispLISP: Predicates in lisp
LISP: Predicates in lisp
 
LISP: Macros in lisp
LISP: Macros in lispLISP: Macros in lisp
LISP: Macros in lisp
 
LISP: Data types in lisp
LISP: Data types in lispLISP: Data types in lisp
LISP: Data types in lisp
 
LISP: Introduction To Lisp
LISP: Introduction To LispLISP: Introduction To Lisp
LISP: Introduction To Lisp
 

Recently uploaded

Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
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 WorkerThousandEyes
 
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 productivityPrincipled Technologies
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
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 DevelopmentsTrustArc
 
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 interpreternaman860154
 
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 AutomationSafe Software
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
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 MenDelhi Call girls
 
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?Antenna Manufacturer Coco
 
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 MenDelhi Call girls
 

Recently uploaded (20)

Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
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
 
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
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
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
 
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
 
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
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
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
 
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
 

LISP: Object Sytstem Lisp

  • 2. overview Programmer interface concepts Classes Slots Inheritance Generic functions and methods Introduction to generic functions Introduction to methods Standard method classes and method objects Object creation and initialization Extensions
  • 3.
  • 4. The second part, Functions in programmers interface, contains a description of the functions and macros in CLOS programmers interface.
  • 5.
  • 6. The function class-name takes a class object and returns its name Each class has a class precedence list, which is the total ordering on the set of the given class and its super classes. The total ordering is a list ordered from the most specific to least specific.
  • 7.
  • 8. List of the directed super classes of the new class
  • 9. A set of slot specifiers
  • 10. A set of class optionsThe generic function make-instance creates and returns a new instance of a class.
  • 11. slots An object that has standard-class as its metaclass has zero or more slots. The slots of an object are determined by the class of the object. Each slot can hold one value. The default initial value of a slot is defined by the :initform slot option.
  • 12.
  • 13.
  • 14. s1 should always be a number.
  • 15.
  • 16. The default initial value of s1 is 5.
  • 17. The value of s1 will be of type integer.
  • 18. There are also local slots of named s2 and s3 in instances of c2.
  • 19.
  • 20. Class precedence list Array Bit-vector Character Complex Cons Float Function* Hash-table* Integer List Null
  • 21. Number Package* Pathname* Random-state* Ratio Rational Readtable* Sequence Stream* String Symbol t vector
  • 22. Introduction to generic functions A generic function object contains a set of methods, lambda-list, a method combination type, and other information. A generic function can be given a global name using the defmethod and defgeneric construct. A generic function can be given a local name using generic-flet, generic-labels, or with-added-method special forms.
  • 23. Introduction to methods A method object contains a method function, a sequence of parameter specializes which specify when the given method is applicable, a lambda-list and a sequence of qualifiers. A method-defining form contains the code that is to be run when the arguments for the generic function cause the method that it defines to be invoked.
  • 24. Congruent lambda-list for all methods of a generic function Each lambda-list must have the same number of required parameters Each lambda-list must have the same number of optional. If any lambda-list mentions &rest or &key, each lambda-list must mention one or both of them. If the generic function lambda-list mentions &key, each method must accept all of the keyword names mentioned after &key, either by accepting them explicitly, by specifying &allow-other-keys, or by specifying &rest but and &key.
  • 25. Standard method combination Standard method combination is supported by the class standard-generic-function. Primary functions define the main action of the effective method, while auxiliary methods modify that action in one of three ways: A primary method has no method qualifier. An auxiliary method is a method whose method qualifier is :before, :after, or :around The macro define-method-combination defines new forms of method combinations. It provides an effective method for customizing the production of the effective method.
  • 26. Meta objects The meta-object protocol specifies a set of generic functions defined by methods on classes. The instances of these classes on which those methods are defined are called meta-objects. The metaclass determines the representation of instances of its instances and the forms of inheritance used by its instances for slot descriptions and method inheritance.
  • 27.
  • 28. Built-in-class (instances are classes that have special implementations with restricted capabilities)
  • 29.
  • 31. instance of the class standard class
  • 32.
  • 33. Rules to specify when initialization arguments may be multiply defined: A given initialization argument can be used to initialize more than one slot if the same initialization argument name appears in more than one :initarg slot option. A given initialization argument name can appear in the lambda-list of more than one initialization method. A given initialization argument name can appear in an :initarg slot option and in the lambda-list of an initialization method.
  • 34. Redefining a class A class that is an instance of standard-class can be redefined if the new class will also be an instance of standard-class. Redefining modifies the existing class object, it does not create a new class object for the class. Any method object created by :reader, :writer, or :accessor option specified by the old defclass form the corresponding generic functions and methods specified by the new defclass form are added.
  • 35.
  • 36.