Skip to content

Commit

Permalink
Minor changes in walk-len settings
Browse files Browse the repository at this point in the history
  • Loading branch information
vaithak committed Jun 9, 2021
1 parent 33effa4 commit 51fb5e8
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ struct ArgOptions {
case CG:
return volume_cooling_gaussians<GaussianCDHRWalk, RNGType>(P, e, walk_len);
case CB:
return volume_cooling_balls<CDHRWalk, RNGType>(P, e, walk_len).second;;
return volume_cooling_balls<CDHRWalk, RNGType>(P, e, 2*walk_len).second;;
}

return -1;
Expand All @@ -79,11 +79,10 @@ NT calculateLinearExtension(ArgOptions& args) {
unsigned int d = (args.HP)->dimension();
unsigned int walk_len = 10 + d/10;
NT e=0.1;

// calculate volume of the order polytope
NT round_multiply = 1.0;
if (args.with_rounding) {
walk_len = 1;
//walk_len = 1;

RNGType rng(d);
std::pair<Point, NT> InnerBall = (args.HP)->ComputeInnerBall();
Expand Down

0 comments on commit 51fb5e8

Please # to comment.