1 Pertemuan 11 Kasus : Inheritance Matakuliah: M0462/Programming I Tahun: 2005 Versi: >
2 Learning Outcomes Pada akhir pertemuan ini, diharapkan mahasiswa akan mampu : Mahasiswa dapat Memberikan contoh tentang Inheritance dalam Visual Basic
3 Outline Materi Pembahasan Kasus Latihan menggunakan Inheritance
4 The Prisoner’s Dilemma – An Exercise in Inheritance Game Theory – A Branch of Mathematics You TailsHeads Me TailsYou Get $ 2You Lose $ 2 I Lose $ 2I Get $ 2 HeadsYou Lose $ 2You Get $ 2 I Get $ 2I Lose $ 2
5 The Prisoner’s Dilemma Story Player 1’s Move C (Cooperate)D (Defect) Player 2’s Move C (Cooperate)Player 1 gets –1 PointsPlayer 1 gets 0 points Player 2 gets -1 PiuntsPlayer 2 get -5 points D (Defect)Player 1 gets -5 pointsPlayer 2 gets 0 points Player 1 gets -3 points
6 The Iterated Prisoner’s Dilemma The Firs Computer Simulations of the Prisoner’s Dilemma Writing Your own Computer Simulation
7 The Prisoner’s Dilemma – An Exercise in Object Desing and Programming Developing the Generic Player Object Developing a Specific Player Object – Tif for Tat Developing an Interface to Run the Game Moving Beyond Tif for Tat – Fuzzy Communications Some Final Comments on the Prisoner’s Dilemma
8 REFERENSI sp?url=/library/en- us/dnvbdev00/html/vb00d20.asp -- Inheritancehttp://msdn.microsoft.com/library/default.a sp?url=/library/en- us/dnvbdev00/html/vb00d20.asp
9 SELESAI