28 research outputs found

    Megoldáskereső algoritmusok programozása Racket nyelven: Programming search algorithms in Racket

    Get PDF
    Functional programming languages have been closely related to the field of artificial intelligence since it was born. In recent years, we have presented the most important search algorithms using object-oriented approach at the Faculty of Informatics, University of Debrecen. With the modernization of the curriculum of the Computer Science BSc program, a new subject called High-Level Programming Languages 3 was created, which is intended to present programming languages based on the functional paradigm. In this paper, we show how the algorithms introduced in the object-oriented world can be implemented in a purely functional environment, namely in Racket programming language. Kivonat A mesterséges intelligencia tudományterületéhez már megszületésétől kezdve szorosan kapcsolódtak a funkcionális programozási nyelvek. A Debreceni Egyetem Informatikai Karán az elmúlt években objektumorientált megközelítésben ismertettük a legfontosabb megoldáskereső algoritmusokat. Amióta megtörtént a programtervező informatikus BSc szak mintatantervének korszerűsítése, megjelent benne a Magas szintű programozási nyelvek 3 tárgy, amely kifejezetten a funkcionális paradigmán alapuló programozási nyelveket mutatja be. Cikkünkben azt mutatjuk be, hogy hogyan lehet az objektumorientált világban már megismert algoritmusokat tisztán funkcionális környezetben, jelesül Racket nyelven is implementálni

    A multiparadigmás programozási nyelvek megjelenése a mesterséges intelligencia oktatásában

    Get PDF
    The main goal of my dissertation was to come up with a new methodology that helps make teaching programming-oriented computer science in higher education more effective. The new methodology is based on long-term projects spanning the whole duration of students' studies, forcing them to apply the knowledge acquired during the project-related subjects. As a small part of the proposed methodology, I put special emphasis on the teaching of the subject Introduction to Artificial Intelligence. I propose the introduction of multiparadigm languages on the seminars of subjects dealing with artificial intelligence in practice. Giving more implementations of search algorithms using different approaches may help students understand the logic behind those algorithms. I give detailed examples of such implementations in C# and F# and also compare those implementations. Programming contests can be a fairly motivating factor for students. Together with two of my colleagues, we have developed a web application which is able to manage programming contests as well as to evaluate solutions to programming assignments submitted by students. I briefly introduce this application and describe its benefits against other similar software and our experience with it. Az értekezésem fő célja egy új módszertan kidolgozása volt a programozásorientált informatika felsőfokú oktatásának eredményesebbé tétele érdekében. Az új módszertan a hallgatók teljes tanulmányi idejét felölelő hosszú távú projekteken alapul, amelyek a legtöbb kötelező tárgy ismereteit magukban foglalják. A javasolt módszertan egyik apró elemeként különös hangsúlyt fektettem A mesterséges intelligencia alapjai című tantárgy oktatására. Javaslom a multiparadigmás nyelvek bevezetését a gyakorlati mesterséges intelligenciával foglalkozó tantárgyak oktatásába. Ha a kereső algoritmusok több, különböző megközelítést használó implementációját adjuk a hallgatók kezébe, az segíthet számukra megérteni az algoritmusok logikáját. Részletes példákat adok ilyen implementációkra C# és F# nyelven, amelyeket össze is hasonlítok egymással. A programozó versenyek is kitűnő motivációt jelenthetnek a hallgatóknak. Két kollégámmal közösen kifejlesztettünk egy webalkalmazást programozó versenyek lebonyolításának, valamint a hallgatók által különböző programozási feladatokra beküldött forráskódok kiértékelésének a támogatására. Röviden bemutatom ezt az alkalmazást, továbbá ismertetem az előnyeit más hasonló szoftverekkel szemben, valamint a vele szerzett tapasztalatainkat is.N

    Extended breadth-first search algorithm in practice

    No full text
    corecore