Giter Site home page Giter Site logo

codecraft2017's Introduction

CodeCraft2017


Introduction:

This is my algorithm idea to solve the problem with an iterator based on minimized-cost flow algorithm.
Save your workspace first to avoid lossing important data! ! !
Put files under current folder.
Directly run the file run in matlab.
If everything goes well, the result of the test case can be displayed in about 0.2s while case0 no longer than 90s.

Function of files:

  • run.m : Execute.

    • cdn.m : The iterator.(Some strategies may under discussion.)

      • inp.m : Input data of official case0.

      • construct.m : Set super nodes and format the matrixes.

      • MCF.m : Find the minimized-cost flow.

        • short.m : Find the shortest path.
    • cvt.m : Convert the result, a flow matrix, to official format.

      • climb.m : Recursively sparsify the flow matrix into routes.
  • test1.mat : Test case.

  • README.md : The file you're reading.


codecraft2017's People

Contributors

ocbaby avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

codecraft2017's Issues

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.