Coder Social home page Coder Social logo

ld844870209 / kcollectivefp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lihuixidian/kcollectivefp

0.0 1.0 0.0 49 KB

The source code for our work published in MDM2019, namely k-Collective Influential Facility Placement over Moving Object.

C++ 99.72% C 0.28%

kcollectivefp's Introduction

kCollectiveFP

The source code for our work published in MDM2019, namely k-Collective Influential Facility Placement over Moving Object.

Environment

  1. These experiments are implementes in C++.

  2. IDE is VS 2013.

##Dataset

  1. There are two datasets which are recorded by two text files(checkins-10162.txt and checkins-2321.txt).

    • checkins-10162.txt: 10162 users from Gowalla located in California.
    • checkins-2321.txt: 2321 users from Foursquare located in Singapore.
  2. The trajectory of user consist of username and a series of check-in points.

  3. Candidate sets are randomly generated from check-in points.

  4. Both datasets can be found in this page(https://github.com/lihuixidian/PINOCCHIO/tree/master/datasets) ).

##Algorithm

  1. PINOCCHIO: We evaluate the inf(·) for all candidates, and select the top k candidates with the maximum inf(·) as the results.
  2. GreedyP: The GreedyP algorithm in Algorithm 1 in paper.
  3. GreedyPS: The GreedyPS algorithm in Algorithm 2 in paper.

##Supplement

  1. PLS.cpp : Main function. 

  2. pino.cpp: This file contains the implements of all algorithoms (eg., Baseline, GreedyP, GreedyPS) in our paper.

Usage

  1. All data files should be placed in a local folder named as 'Release', e.g., 'D:\Experiment\PLS\Release'.

  2. We should load boost library in this project which provides corresponding utilities with respect to R-tree.

  3. There are some precompiles in program.

    CANDIDATES_GENERATION : Generate candidates. GEN_FROM_10162 : From 10162 (1) or 2321 (0) dataset. PICK_FROM_UNIQUE : In CANDIDATES_GENERATION, pick from unique coordinates (set) but not all check-in logs (vector). CHECKINS_EXCLUDING: Exclude check-ins that appear in candidates. And generate checkins.txt. DATA_LOADING : Load the datas about candidates and users. They are all in PLS.cpp.

  4. HUSH_NUM: the number of bitmaps in pino.h.

kcollectivefp's People

Contributors

ld844870209 avatar lihuixidian avatar

Watchers

James Cloos 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.