Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
JulioJerez committed Sep 21, 2024
1 parent 07711de commit dd9e72a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ namespace ndAdvancedRobot
//return ndExp(-invRewardSigma2 * param2);
//ndFloat32 x = ndSqrt(param2);
//return ndClamp(x, ndFloat32(0.0f), ndFloat32(1.0f));
return param2;
return param2 * param2;
};

ndFloat32 rewardWeigh = 1.0f / 6.0f;
Expand Down Expand Up @@ -1100,8 +1100,8 @@ namespace ndAdvancedRobot

ndInt32 countX = 10;
ndInt32 countZ = 11;
countX = 1;
countZ = 1;
//countX = 1;
//countZ = 1;

// add a hidden battery of model to generate trajectories in parallel
for (ndInt32 i = 0; i < countZ; ++i)
Expand Down

0 comments on commit dd9e72a

Please sign in to comment.