GithubHelp home page GithubHelp logo

jakobbossek / grapherator Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 2.0 10.25 MB

A modular multi-step graph generator

License: BSD 2-Clause "Simplified" License

R 96.67% TeX 3.33%
graph-generator optimization combinatorial-optimization multi-objective-optimization minimum-spanning-tree

grapherator's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

mpadge joskid

grapherator's Issues

New type intercenter for addEdges

Rename intercluster to intercenter. For intercluster, we select each k random nodes from each cluster and apply the generator to these.

add function toString

Bascially this one should return a string concatenation of node, edge and weiht types.

refactor addWeights

We pass addEdges{...} or addNodes{...} functions to addEdges and addNodes respectively. However, we pass a character to specify the method in addWeights.

Review for JOSS

Regarding the review openjournals/joss-reviews#528 I have the following comments:

  • In the vignette "Graph generation with grapherator", there are some references missing. In particular, the MOST paper, which is linked to, but not mentioned in the list of references.

  • To improve documentation, I suggest adding links from the addEdges, addNodes, and addWeights to their respective set of generator functions. A single link in the parameter description should work.

  • The tag @title shows in the name of edgeGenerators (see here). Removing the @title tag should be OK.

Other than that, everything looks OK to me. I was able to install the package from github and CRAN and compile/test it myself without any problem.

mcGP is misleading

Graphs with only one weight are possible as well. Come up with a new S3 class name

add helper methods

Implement at least the following getters:

  • getNumberOfNodes()
  • getNumberOfEdges()
  • getNumberOfClusters()
  • getNodeDegrees()
  • getAdjacencyMatrix()
  • getWeightMatrix(obj)

Update docs

Since addCoordinates was renamed to addNodes we need to use the word nodes instead of coordinates in the docs.

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.