Skip to content

About

University project created with @PabloRican

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

39 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚗 🔌 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.

About

University project created with @PabloRican

Resources

Stars

0 stars

Watchers

1 watching

Forks

Contributors

Languages