anowell

anowell / GeneticScheduler / 0.1.2

Genetic Scheduler

Royalty Free API Calls - 161
Automatic Scheduling using a genetic algorithm
No Tags
Permissions
The MIT License is a permissive free software license originating at the Massachusetts Institute of Technology (MIT). Learn More

Run an Example

Input
Output
{
  "fitness": 11,
  "meetings": [
    {
      "location": 3,
      "people": [
        "a",
        "d"
      ],
      "slot": 3
    },
    {
      "location": 2,
      "people": [
        "a",
        "e"
      ],
      "slot": 2
    },
    {
      "location": 3,
      "people": [
        "b",
        "d"
      ],
      "slot": 2
    },
    {
      "location": 0,
      "people": [
        "b",
        "e"
      ],
      "slot": 3
    }
  ]
}

Install and Use

Install

Install the Algorithmia CLI client by running:

curl -sSLf https://algorithmia.com/install.sh | sh

Then authenticate by running:

algo auth
# Enter API Key: YOUR_API_KEY
CLI Install Docs

Use



algo run anowell/GeneticScheduler/0.1.2 -d '{
  "meetings_needed": [
    ["a","d"],["a","e"],["b","c"],["b","d"],
    ["b","e"],["c","e"],["d","f"],["e","f"]
  ],
  "total_locations": 4,
  "total_slots": 4,
  "unavailable": {
    "b": [0],
    "c": [2,3]
  }
}
' –-timeout 300
  
CLI Docs