Code Monkey home page Code Monkey logo

pcenter's Introduction

目录组织

  • Solver/ 中心选址问题的 Visual C++ 项目. 核心算法.

  • Protocol/

    • PCenter.proto 中心选址问题的输入输出数据定义文件.
  • Simulator/ 提供算法交互接口的 Visual C++ 项目. 实现批量测试与结果展示等功能.

  • Checker/ 中心选址问题计算结果检查程序的 Visual C++ 项目.

  • Analyzer/ 中心选址问题算例/结果/日志分析程序的 Visual C# 项目.

  • Deploy/ 开发阶段程序部署目录, 包含程序运行所需要的所有可执行文件和数据.

    • Instance/ 输入数据.
    • Solution/ 求解结果.
    • Visualization/ 结果可视化.
  • Doc/ 项目文档.

    • ProblemDescription.md 中心选址问题描述文档.
  • Lib/ 第三方库.

    • protobuf 由 Google 开发的数据交换格式. 访问 https://github.com/google/protobuf/releases 下载最新版本.
      • bin/ 生成对消息进行序列化与反序列化的代码的工具.
      • include/ 头文件. 应被设置为 "附加包含文件".
      • lib/ 静态链接库. 应被设置为 "附加库目录". 该文件夹下的库文件应被设置为 "附加依赖项".

编译链接

修改代码

  1. Solver.cpp 中搜索 TODO[0], 并在对应位置添加求解算法的代码.
  2. Problem.h 中搜索 TODO[0], 并在对应位置修改提交至测评系统的信息.

编译链接

  1. 自己编译 protobuf 或者在群共享下载 解压至Lib目录(protobuf3.6.1_vs2017_MT+MTd_x64).zip 并解压至 Lib 目录.
  2. 运行 Protocol/ 目录下的 generate.bat (未更改 *.proto 文件可跳过该步骤).
  3. 打开根目录下的 Visual Studio 2017 解决方案文件 PCenter.sln, 设置输出选项为 Release x64, 生成解决方案.

pcenter's People

Contributors

cosensible avatar

Stargazers

 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.