This is the codification used in the abovementioned AAMAS 2018 paper.
You are free to use all or part of the codes here presented for any purpose, provided that the paper is properly cited and the original authors properly credited. All the files here shared come with no warranties.
Paper bib entry:
@inproceedings{SilvaAndCosta2018,
author = {Silva, Felipe Leno Da and
Anna Helena Reali Costa},
title = {{Object-Oriented Curriculum Generation for Reinforcement Learning}},
booktitle = {Proceedings of the 17th International Conference on Autonomous Agents and Multiagent Systems (AAMAS)},
year = {2018}
}