1. DPGraphJ: A Java package for the implementation of dynamic programming algorithms
- Author
-
Diana Borrego, Irene Barba, Carmelo Del Valle, and Miguel Toro
- Subjects
Dynamic programming ,AND/OR graphs ,Design & implementation ,Software quality ,Computational thinking ,Computer software ,QA76.75-76.765 - Abstract
This paper introduces the DPGraphJ package, a collection of reusable Java functions to solve optimisation problems using a dynamic programming algorithm. The latter is based on a recursive schema that follows a top-down approach and uses the memoisation technique. This algorithm is a reusable software component that is generic and efficient. Moreover, it has been developed by paying special attention to good practices in the design of software. For using DPGraphJ, the problem to be solved needs to be modelled as an AND/OR graph. In the DPGraphJ package, we provide 5 academic case studies with detailed comments. We strongly believe that our proposal can be helpful for several kinds of users, such as students, researchers, and practitioners.
- Published
- 2024
- Full Text
- View/download PDF