Giter Club home page Giter Club logo

rvolesti's People

Contributors

farehesoheil avatar soumya624 avatar tolischal avatar vfisikop avatar vissarion avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

rvolesti's Issues

GenCube function not defined

Following this documentation, when trying to estimate the volume of a 3-dimensional cube with GenCube() function I get this error:

Error in GenCube(3, "H") : could not find function "GenCube"

The result of running help("GenCube") :

No documentation for ‘GenCube’ in specified packages and libraries:
you could try ‘??GenCube’

Error in Package Installation and Documentation Generation

When trying to install the package or create it's documentation, a library specific error is generating. To replicate this within RStudio, one can execute the following two commands:

Rcpp::compileAttributes()
roxygen2::roxygenize(roclets="rd")

Unknown Walk Type

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)
  }
}

Upgrade to current volesti version

This issue deals with the upgrade to a newer version of volesti. This upgrade should be done by following the steps bellow.

  • Update the relevant "include" branch in volesti repository
  • Update the submodule
  • Fix possible issues
  • Write tests (wherever are missing)
  • Write documentation (wherever is missing)

Update README

The currect README should be updated (at least) on the following points:

  • Update submodule path
  • There should not be needed to cd src/include when you update the submodule
  • Documentation links and credits are outdated
  • There is a confusion when referring to volesti and Rvolesti

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.