Code Monkey home page Code Monkey logo

dodo's Introduction

dODo Build Status Codacy Badge Codacy Badge

distributed Order-Dependency Discovery optimization - An HPI seminar work at the Information Systems chair

Link to data sets: HPI Repeatability: FDs.

Running the algorithm

You can configure the algorithm before packing it into a jar in the application.conf-file. For all available options please consider the reference.conf-file.

After the algorithm was packaged, you can still change some configuration options via the CLI. Use the option --help to display the help page shown below:

Usage

 dODo [options] : Distributed Order dependency Discovery Optimization - discover order dependencies through order compatibility dependencies in CSV files

Options

   --host       : this machine's hostname or IP to bind against
   --input-file : path to the input CSV file. Required for the seed node! If not specified, this node tries to fetch the data from another node (potentially the seed node).
   --port       : port to bind against
   --seed-host  : hostname or IP address of the cluster seed node
   --seed-port  : port of the cluster seed node

There are different ways to run the algorithm. They are described in the following sections.

Using SBT

Please make sure that you have SBT version >= 1.2.8 installed and your JAVA_HOME is pointing to a JRE or JDK 1.8.x installation. Newer versions of Java are not supported!

Issue the following command from the project root directory:

sbt "run --host=localhost --port=7877"

The double quotes around the run command and the program arguments are necessary.

Using IntelliJ

  1. Create a new run configuration.

    • Add new configuration of type Application
    • Set as the main class.
    • You can add the above options as Program arguments. See screenshot below.

    Create new run configuration screenshot

  2. Execute the new run configuration.

Running the jar (for production)

  1. First build and package the application by running sbt assembly. This will create a fat jar (uber jar) that can be run independently.
  2. Run the application with java -jar <dodo-name>.jar --help. Only Java version 1.8.x is supported!

Contributing

If you want to contribute to this project, you are more then welcome to do so. Please read the contribution guidlines before submitting new issues or pull requests.

Helpul Commands

You can change the settings specified in the packed configuration files by supplying them during start of the application with: java -jar -Dcom.github.codelionx.dodo.input-file=data/flight_1k.csv -Dakka.remote.artery.canonical.port=7878 dodo-assembly-0.0.1.jar

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.