jCOLIBRI2 Tutorial
Juan A. Recio-García
Belén Díaz-Agudo
Pedro González-Calero
September 16, 2008
Document version 1.2
GROUP FOR ARTIFICIAL INTELLIGENCE APPLICATIONS
UNIVERSIDAD COMPLUTENSE DE MADRIDThis work is supported by the MID-CBR project of the Spanish Ministry of Education
& Science TIN2006-15140-C03-02 and the G.D. of Universities and Research of the
Community of Madrid (UCM-CAM-910494 research group grant).
jCOLIBRI2 Tutorial
Juan A. Recio-García
Belén Díaz-Agudo
Pedro González Calero
Technical Report IT/2007/02
Department of Software Engineering and Artificial Intelligence.
University Complutense of Madrid
ISBN: 978-84-691-6204-0Contents 3
Contents
1 Introduction 8
2 What is Case-Based Reasoning? 9
2.1 The CBR cycle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3 The jCOLIBRI CBR framework 11
3.1 jCOLIBRI2 Architecture . . . . . . . . . . . . . . . . . . . . . . . . . 11
4 Getting started with jCOLIBRI2 14
5 The Travel Recommender CBR application 17
6 Importing jCOLIBRI2 into Eclipse 24
6.1 Preparing the Travel Recommender files . . . . . . . . . . . . . . . . . 25
7 Creating the CBR application 28
8 The Travel Recommender Case Base 33
9 Representing the Cases 35
9.1 Case Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
9.2 Cases and Queries in jCOLIBRI2 . . . . . . . . . . . . . . . . . . . . . 36
9.3 Case of the Travel Recommender . . . . . . . . . . . . . . 39
9.4 Defining new attribute types . . . . . . . . . . . . . ...
Voir