JFCM : A Java Library for FuzzyCognitive Maps
Java Fuzzy Cognitive Maps (JFCM) [1 ] is an open source library by Dimitri De Franciscis [2 ] that implements fuzzy cognitive maps using the Java™ programming language. In this chapter we will introduce the library and its main features, along with many
- PDF / 1,294,141 Bytes
- 22 Pages / 439.37 x 666.142 pts Page_size
- 114 Downloads / 207 Views
JFCM : A Java Library for Fuzzy Cognitive Maps Dimitri De Franciscis
Abstract Java Fuzzy Cognitive Maps (JFCM) [1] is an open source library written by Dimitri De Franciscis [2] that implements fuzzy cognitive maps using the Java™ programming language. In this chapter we will introduce the library and its main features, along with many code examples and experiments that show how to effectively use it in your projects.
1 FCM Tools 1.1 Other Cognitive Mapping Tools The most important inspiration for the project came from Bart Kosko’s Fuzzy Thinking: The New Science of Fuzzy Logic [3] as well as other sources ([4]). Many useful ideas came also from these projects: • FCMapper, from FCMapper.net community [5]; • Fuzzy Cognitive Maps applet [6] by Guillermo Ochoa de Aspuru; • various libraries written for Matlab or other specialised environments. FCMappers.net is “a network of scientists interested in fuzzy cognitive mapping and its connection to network analysis and systems modelling” (source: FCMappers website). They realized a complex tool called FCMapper, based on Microsoft Excel, that can be used to model fuzzy cognitive maps, execute simulations and analyse results. As it is completely based on Excel and VBA (Visual Basic for Applications) macros, its source code can be examined, modified and enhanced. It has also some Electronic supplementary material The online version of this article (doi: 10.1007/978-3642-39739-4_12) contains supplementary material, which is available to authorized users. D. De Franciscis (B) Megadix, Freelance Java/CMS/Database consultant, Milano, Italy e-mail: [email protected] E. I. Papageorgiou (ed.), Fuzzy Cognitive Maps for Applied Sciences and Engineering, Intelligent Systems Reference Library 54, DOI: 10.1007/978-3-642-39739-4_12, © Springer-Verlag Berlin Heidelberg 2014
199
200
D. De Franciscis
advanced features like export to NET-file, a file format used to view and analyse graph with Pajek [7] or Visone [8]. This tool is under active development, and new versions are released regularly. Its use is free for non-commercial projects. Fuzzy Cognitive Maps applet by Guillermo Ochoa de Aspuru instead is written in Java and is meant to be executed as an application embedded in an internet page. It features a somewhat basic user interface and can be used to create maps and run simulations. Although useful from a didactic point of view, this tool has some serious drawbacks: • is very old, as it has not been updated since 2002, thus it suffers from many compatibility problems; • it can be run only from a Java-enabled browser or appletviewer; • it is distributed under GPL license, so it cannot be used for free in commercial products.
1.2 The Need for JFCM JFCM library was born as a simple programming exercise and a proof-of-concept, but it slowly became popular: • it’s a simple, standalone library written in Java, so it can run on many operating systems, unchanged; • it has very few dependencies on other libraries; • it is released under LGPL license, which permits inclusion in commerc
Data Loading...