Skip to content

RheaBose/ILPCW2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Implementation Summary

Completed Features

  • Group 2: Static queries
  • Group 3: Dynamic queries
  • Group 4: Availability queries
  • Group 5: Simple calcDeliveryPath
  • Group 5: Complex calcDeliveryPath
  • Group 6: calcDeliveryPathAsGeoJSON

Key Implementation Details

Pathfinding: A* algorithm with obstacle avoidance Multi-drone planning: Efficiency-based drone selection with nearest-neighbor optimization Move counting: Correct implementation (positions - 1) Service point selection: Closest to delivery centroid Return path: Separate delivery with ID 0

Running the Application

Local:

mvn clean package -DskipTests
java -jar target/*.jar app.jar

Docker:

docker build -t ilp-service .
docker run -p 8080:8080 ilp-service

API Endpoints

  • GET /api/v1/dronesWithCooling/{hasCooling}
  • GET /api/v1/droneDetails/{droneId}
  • POST /api/v1/query - Returns DronePath
  • GET /api/v1/queryAsPath/{dispatchId}
  • POST /api/v1/queryAvailableDrones
  • POST /api/v1/calcDeliveryPath
  • POST /api/v1/calcDeliveryPathAsGeoJson

External Dependencies

  • Spring Boot 3.3.5
  • Java 21
  • Maven 3.9+

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors