Coder Social home page Coder Social logo

electric_charging_points's Introduction

๐Ÿš— ๐Ÿ”Œ Electric charging points

The goal of this project is to determine the minimum number of charging points for an urban community. The project follows these following rules

  • A city must have or connected with a city who have a charging point.
  • The number of charging points try to be the lowest possible (our algorithm uses a heuristic)

๐Ÿ“ Functionalities

  • Resolve manually
  • Resolve automatically with a heuristic
  • Load urban community from a file (add the path to the file in the command line arguments)
  • Save urban community in a file

โœ… Requirements

  • OpenJDK 17
  • GraphViz (optional, for display the urban community)

๐Ÿ Quick start

The main method is in the class App.

๐Ÿ“จ Run directly

  • Get the source code on your machine
  • Clear the bin directory if needed with rm -rf bin
  • Build sources files with javac -d bin --source-path src src/App.java
  • Run the project with java -cp bin App

๐Ÿ“ฆ Build the jar

  • Follow the step in the previous part.
  • Create the jar file with jar --create --file project_paa.jar --main-class App -C bin/ ..
  • Run the jar with java -jar project_paa.jar.

๐Ÿ“– Generate the JavaDoc

  • Generate the javadoc with javadoc -d doc --source-path src core exceptions graph ui.
  • Open index.html in the doc directory.

electric_charging_points's People

Contributors

jbhochet avatar pablorican avatar

Watchers

 avatar

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.