Skip to content
This repository has been archived by the owner on Jan 15, 2020. It is now read-only.

qaisjp/league-of-agents

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

league-of-agents

We will provide a server with a simple API where you can control your fleet of cars and see the world status. In addition to this, we will also provide amazing mentors.

We don't care how you optimize the delivery of customers, it can be a simple if then, AI, machine learning, whatever. The challenge is for you to show off your skills in modern software development, prototyping, with a twist of shining creativity.

The solutions will be judged on creativity, impact, feasibility, novelty and cost efficiency.

This won Ericsson's "Greener city transport with 5G" challenge on the "Secure the Future" track, at Junction 2019.

Agent

Interface

interface Agent {
    init(string team_name) -> Agent
    act(Observation ob) -> Action[]
}

Input

Observation

{
    "grid": Bool[][],
    "teams": Team[],
    "customers": Customer[],
    "ticks": Int,
}

Team

{
    "id": String,
    "name": String,
    "cars": Car[],
    "score": Int,
}

Car

{
    "id": String
    "position": Int[2],
    "capacity": Int,
    "available_capacity": Int,
    "customers": String[],
}

Customer

{
    "id": String,
    "position": Int[2] | null,
    "destination": Int[2],
}

Output

Action

{
    "car": String,
    "direction": 0 | 1 | 2 | 3 | null
}

API Library

interface Agent {
    init(string base_url) -> API
    get_world() -> Observation
    move_car(string car_id, int direction, string token) -> void
    get_team_tokens() -> TeamToken[]
}

TeamToken

{
    "id": Int,
    "name": String,
    "token": String,
}

Visualiser

Act

{
    "team": String,
    "actios": Action[],
}

Step

{
    "state": Observation,
    "acts": Act[],
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •