Code Monkey home page Code Monkey logo

davenport's People

Contributors

wbreeze avatar

Stargazers

 avatar

Watchers

 avatar  avatar

davenport's Issues

Problems compiling on Debian

The compiler on the server complained with:

error: variable-sized object may not be initialized
   const int expected[node_ct] = {1, 3, 4, 2, 5, 6, 7, 8};

and

warning: excess elements in array initializer
   const int expected[node_ct] = {1, 3, 4, 2, 5, 6, 7, 8};

for each element

Break catch 22 in build

When building from a bare repository, the cmdline program won't build because the library is not available. The library won't build because the cmdline program won't build.

Update the README with install instructions

There are no instructions for installing, only for building. The build instructions leave out running autoconf --install before ./configure (because the configure command isn't checked-in and I'm not sure it should be). The install instructions should mention the need to run ldconfig on some systems. See this question on SO that was solved with ldconfig after installation of this library.

Provide production install

The current install with autoreconf --install requires that the cutter testing framework be installed. This is only needed to run tests. As such, it could be thought of as solely a development dependency.

Could it be possible to provide an install that only compiles the runtime code, not the tests, and doesn't have this dependency?

Enable trying the algorithm on sample inputs

Write a command line program that takes a simple input format containing individual preferences, runs the algorithm, and outputs the aggregate preference solution.

Here is a simple input format. Separators are ">", "=", and newline. The newline separates individual preference rankings. The ">" signifies preference over what follows. The "=" signifies no preference.

9>2>3>8>5>7=1=4=0=6
4>9>0>6>3>2>5>1>7>8
5>3>2>4>8=7>1>9>0>6
1>4>7=2>5>0>8>6>9>3
4>5>8>1>6>3>0>2>9>7
5>1>0>8>2>4>7>3>9=6

Tune strong lower bound usage

It's possible that use of the strong lower bound is a performance drain when components have very few alternatives. For example, with only three, it might be faster to simply try them vs. setting-up the flow network and computing the maximum flow. See if this is the case, and try to tune the minimum size of a component above which the strong lower bound is used.

Test some true majority graphs

By "true" majority graphs we mean generated from a preference graph that is generated from a list of declared preferences.

This requires:

  • writing code to aggregate preference expressions into a preference graph
  • writing code to generate a majority graph from a preference graph

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.