You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
want to run different sampling algorithms in a 100-dimensional cube. I get the output for "RDHR" and "CDHR" but for the "john" (john walk) I get the following error:
Error: Unknown walk type!
My code is as below and I follow page 24 of Rvolesti documentation pdf. on sample_points() function.
library(ggplot2)
library(volesti)
for (step in c(1,20,100,150)){
for (walk in c("RDHR", "CDHR", "john")){
P <- gen_cube(3, 'H')
points1 <- sample_points(P, n=1000, random_walk = list("walk"=walk, "walk_length"= step))
g<-plot(ggplot(data.frame( x=points1[1,], y=points1[2,] )) +
geom_point( aes(x=x, y=y, color=walk)) + coord_fixed(xlim = c(-1,1),
ylim = c(-1,1)) + ggtitle(sprintf("walk length=%s", step, walk)))
Sys.sleep(10)
}
}
The text was updated successfully, but these errors were encountered:
Could you provide more information about your platform/compiler used and also the exact steps you followed?
Can you run the tests and the examples successfully?
want to run different sampling algorithms in a 100-dimensional cube. I get the output for "RDHR" and "CDHR" but for the "john" (john walk) I get the following error:
My code is as below and I follow page 24 of Rvolesti documentation pdf. on
sample_points()
function.The text was updated successfully, but these errors were encountered: