Reward variables are the building blocks for the reward function. Reward variables can embody important simulation metrics such as revenue and cost. These metrics are likely what you directly seek to optimize. 

Step 1 - Open the Pathmind Helper properties and locate the "Reward Variables" field.

Step 2 - Input your reward variables.

class Reward {
double reward_0 = rew0;
double reward_1 = rew1;
double reward_2 = rew2;

This should output an array that looks something like: [0.0, 0.0, 0.0]. The values 0.0  are just placeholders; in actuality, they will contain varied values from your rewards. The variables rew0, rew1 , rew2 and so forth would each hold information about your rewards.

Finally, you can inspect your reward variables by following the instructions here

Why do we need reward variables?

Reward variables alone serve no purpose. These reward variables will become the building blocks for your reward function in Pathmind.

Did this answer your question?