Code Monkey home page Code Monkey logo

fops's Introduction

FOPS - framework for orienteering problem solving

How to launch:

Clone the repository:
git clone https://github.com/mukhinaks/fops.git

Edit config.json file if neccessary:
AntsNumber - number of ants per point
Fadeness - pheromone fadeness, for further information read algorithm description
Iterations - number of iterations for ant colony optimization
AttractivenessControl - influence of point score in probability computation
PheromoneControl - influence of pheromone value in probability computation
DataPath - path to dataset
NumberOfChannels - parameter for parallel launch
TimeLimit - currently not used

Build the framework (run terminal in FOPS directory):
go build

Start the itinerary construction:
./fops

Output result

The output route is JSON file, where each element contains all information about location.

[
    {
        "address":"St. Petersburg, Isaakiyevskaya Square",
        "category":[
            "Sights \u0026 Landmarks",
            "Museums \u0026 Libraries"
        ],
        "duration":120,
        "foursquare_checkinsCount":14805,
        "foursquare_rating":9.4,
        "foursquare_ratingVotes":1238,
        "foursquare_userCount":16254,
        "instagram_visitorsList":null,
        "instagram_visitorsNumber":148834,
        "lat":59.933013,
        "lng":30.307442,
        "officialGuide":1,
        "open_hours":{
            "0":null,
            "1":[
              1030,
              1730
            ],
            "2":null,
            "3":[
              1030,
              1730
            ],
            "4":[
              1030,
              1730
            ],
            "5":[
              1030,
              1730
            ],
            "6":[
              1030,
              1730
            ]
        },
        "title":"St.Isaac's Square",
        "tripAdvisor_link":"https://www.tripadvisor.com/Attraction_Review-g298507-d300132-Reviews-St_Isaac_s_Cathedral_State_Museum_Memorial-St_Petersburg_Northwestern_District.html",
        "tripAdvisor_rating":4.5,
        "tripAdvisor_reviewsNumber":8622,
        "x":3373809.0106866737,
        "y":8384839.049077872,
        "id":0
    }
]

Dataset

The data is publicly available here.

Data citation:

Mukhina, Ksenia; Visheratin, Alexander, 2019, "Replication Data for: Orienteering Problem with Functional Profits for multisource dynamic path construction", https://doi.org/10.7910/DVN/KCAIXS, Harvard Dataverse, V1

Citation

Mukhina KD, Visheratin AA, Nasonov D (2019) Orienteering Problem with Functional Profits for multi-source dynamic path construction. PLOS ONE 14(4): e0213777. https://doi.org/10.1371/journal.pone.0213777

fops's People

Contributors

mukhinaks avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.