In Pathmind, it is highly recommended (but optional) that you define unique names for each reward variable. This makes it easier to track the impact of each reward in your reward function later on.
Step 1 - Define unique reward variables names in Pathmind Helper. In the example below, this is
Step 2 - Your reward variables (
avgDistanceKM) will automatically populate and be available in the Pathmind reward function editor.
Notice that your reward variables are now available options in Pathmind's code completion tool.
Step 3 - Finally, your reward variables will be tracked in Simulation Metrics.