Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Client perform requests - Alpha #15

Open
5 tasks
duartencar opened this issue Apr 10, 2021 · 0 comments
Open
5 tasks

Client perform requests - Alpha #15

duartencar opened this issue Apr 10, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request medium Issue with medium difficulty
Milestone

Comments

@duartencar
Copy link
Owner

duartencar commented Apr 10, 2021

A client request has to be made with 8 hours notice, meaning that a request performed at X time has to have a delivery time of X + 28800 (60s * 60min * 8h)

  • Generate request at a random location, with a delivery time
  • Start CFP for that delivery
  • Evaluate Vehicle agents proposals according to distance
  • Choose the best and check if the Vehicle accepts, if not go to the next one and so on
  • If there are no proposals, make the same request but with a delivery time on the next 15 minutes
@duartencar duartencar added the enhancement New feature or request label Apr 10, 2021
@duartencar duartencar added this to the Second Sprint milestone Apr 10, 2021
@duartencar duartencar added this to Issues in Distributed Logistics via automation Apr 10, 2021
@duartencar duartencar added the medium Issue with medium difficulty label Apr 10, 2021
@duartencar duartencar changed the title Client perform requests Client perform requests - Alpha Apr 12, 2021
@duartencar duartencar moved this from Issues to This Sprint in Distributed Logistics May 14, 2021
@GNeves95 GNeves95 moved this from This Sprint to In progress in Distributed Logistics May 17, 2021
@GNeves95 GNeves95 self-assigned this May 17, 2021
GNeves95 added a commit that referenced this issue Jun 3, 2021
@duartencar duartencar moved this from In progress to Done in Distributed Logistics Jun 5, 2021
duartencar added a commit that referenced this issue Jul 20, 2021
* Project init (#22)

* Initialized project in Intelij

* added jade jar

* added jade as a dependency

* created main file

* Issue 6 create agent launcher (#27)

* Container creation

* launcher skeleton created

* Created tests folder and configuration, added an example test (#28)

* Created Utils, UtilsTest and test file (#29)

Closes #26

* Created Constants class

Closes #25

* Issue 7 create graph (#30)

* Example map file added

* Created function to open and parse XML file

* Created Graph, Node and Edge class

* Node and Edge extend GraphElement

* Graph singleton pattern implemented

* started processing nodes

* getting node attributes

* GraphNode implemented

* started edges

* Reads edges and inserts them to the nodes, graph fully loaded

Closes #7

* Path finding (#33)

* Dijkstra algorithm implemented

* Created Path class and Test

* made a little optimization

* Data folders (#34)

* created data folder

* updated map

* created map xml

* Create Request Class (#11) (#32)

* Create Request Class (#11)

* Remove cluster (#11)

* Issue 10 create elementary agent (#35)

* Create Elementary Agent (#10)

* Rename Agents Folder (#10)

* Revert "Create Request Class (#11) (#32)".

This reverts commit 76ae219.
Deleted .gitignore

* Re-added Request class

* Create Vehicle Agent (#8)

* Fix issues with vehicle types (#8)

* Launcher loads file arguments (#36)

* Added file paths

* Laucher loads graph

* Launcher parses agents file

* Issue 9 request agent (#38)

* created RequestAgent class

* graph has HQ and gas statiosn

* Requester agent random mode request generation done

* created requests file

* RequestAgent loads requests from files

* improved Request agent

* WIP: Created basic app Gui

* Created AgentsPanel

* launcher hotfix: agents starting

* agents scrollable display done

* UiGraph class implementation

* displays graph

* Issue 39 schedule (#40)

* Schedule and ScheduleComponent started

* tasks can be added to schedule

* Alpha schedule done

* Displays agents routes

* added vehicles indicator

* (issues #15 and #16) Create basic behaviours

* renamed library xml

* vehicles register correctly, and CFP's starts

* fixed some stff

* Answer to cfp done

* WIP: Normal ContractNetProtocol selects best

* typical contract net working

* several fixes, normal CNP working, vehicles go to hq

* Agent stats are desplayed and bugs solved

* some heuristics

* Tasks have dates and optimized imports

* removed dead code

* started complex agents

* added experience file with complex agents, launcher starts complex agents

* behaviours organized

* vehicles answer to complex cfps

* receives and stores all proposals

* sends request to best proposer

* behaviours package refactor

* WIP CNP with confirmation

* writes to csv

* agent writes csvs with headers

Co-authored-by: GNeves95 <up201306485@fe.up.pt>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request medium Issue with medium difficulty
Development

No branches or pull requests

2 participants