GithubHelp home page GithubHelp logo

yongyi-liu / pruc Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 5.0 20.52 MB

This is the source code and dataset to the PRUC P-Regions with User-Defined Constraint paper

License: GNU General Public License v3.0

Java 100.00%

pruc's Introduction

PRUC:

This is the source code and dataset for the paper PRUC: P-Regions with User-Defined Constraint.

Environment:

The code is written in Java 14. The original developing platform is IntelliJ IDEA. The maven version is 3.6.3. pom.xml stores all the denpencies for this project.

Quick Start:

The following provides a quick way to run the code and reproduce the experimental results in command line. First switch to the project directory run -mvn compile to compile the java source classes, which gives the following output.

Then, type -mvn exec:java -Dexec.mainClass=test.TestGeneral to run the main class in the project, and the experiments will be run sequentially. The following is an example.

Explanation:

The util package stores the common Class that are used among all the methods. The GSLO package stores all the Class related to Global Search and Local Optimization. The baseline package stores our baseline competitors, it is further divided into greedy, SKATER and SKATERCON.

Dataset:

The datasets used in experiment come from two sources, TIGER/Line Shapefile dataset and 2000 Health, Income and Diversity dataset. The original datasets are slightly modified by removing the island areas. The diversity folder under DataFile folder refers to the 2000 Health, Income and Diversity dataset. All other datasets are from TIGER/Line Shapefile dataset. Different states in TIGER/Line Shapefile dataset are merged to form larger datasets.

Contact:

If you have any question with this project, please feel free to reach me by yliu786 [at] ucr.edu

pruc's People

Contributors

yongyi-liu avatar

Stargazers

 avatar Jakub Nowosad avatar  avatar

Watchers

 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.