Source code of the second laboratory session on UnityProlog
Implement the knowledge base of the LearningBot, PlasticBot and PaperBot agents, such as:
- The LearningBot doesn’t know how to recycle anything but is able to analyse objects and ask other robots when in doubt, it can learn plans and delegate actions
- The PlasticBot can recycle objects marked as plastic but nothing more, if it encounters an object different from plastic, it will ignore it
- The PaperBot can recycle objects marked as paper but nothing more, differently from the other robots, it does nothing unless someone else asks for its help.
The core implementation is courtesy of Nicola Poli and Università degli Studi di Bologna
The original work is available @ https://github.com/conner985/UnityLogic