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

Vehicle receives CFP - Alpha version #16

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

Vehicle receives CFP - Alpha version #16

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

Comments

@duartencar
Copy link
Owner

duartencar commented Apr 10, 2021

When a Vehicle agent receives a request with a job J2, assuming it already has a job J1, it must:

  • If it has capacity to take J1 and J2 boxes together, propose the cost of going from J1 to J2
  • If it doesn't, proposing the cost of going from J1, to HQ and then J2
  • Calculates what route is optimal: Start -> J1 -> J2 or Start -> J2 -> J1
@duartencar duartencar added the question Further information is requested 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 enhancement New feature or request hard Issue with hard difficulty and removed question Further information is requested labels Apr 10, 2021
@duartencar duartencar changed the title Vehicle receives CFP Vehicle receives CFP - Alpha version Apr 11, 2021
@duartencar duartencar moved this from Issues to This Sprint in Distributed Logistics May 14, 2021
@GNeves95 GNeves95 self-assigned this May 16, 2021
@GNeves95 GNeves95 moved this from This Sprint to In progress in Distributed Logistics May 16, 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 hard Issue with hard difficulty
Development

No branches or pull requests

2 participants