Coder Social home page Coder Social logo

Comments (5)

 avatar commented on July 24, 2024

I also used maxfield to plan a multifield of 104 portals.
It's current process.
44% (44/100 iterations) : 39h 15m 05.47s
Xeon(R) CPU E5-26xx 2.3GHz,DDR3

from maxfield.

tvwenger avatar tvwenger commented on July 24, 2024

@pwiecz Can you confirm that your method creates the same number of fields as the current method? This algorithm was designed by @jpeterbaker to be optimal.

from maxfield.

pwiecz avatar pwiecz commented on July 24, 2024

It creates the same number of fields.
I just don't understand the current algorithm well enough, to tell if it creates the correct link order (e.g. maybe edge dependency depends on the current triangulation algorithm).
I'm now trying to understand the code better (but I currently don't have much spare time :/ ).

from maxfield.

mvinni avatar mvinni commented on July 24, 2024

When I was developing the improveEdgeOrderMore stuff, I found automated validation of the generated plans very useful. To that end, you may find the last commit on this branch useful: https://github.com/mvinni/maxfield-1/tree/verify

This is the commit message:

add an option to validate the linking plan
    
    Use --check (or -c) to verify that the plan produced
    by the program does not contain some obvious errors.
    The checks are:
     - the source portal of a link should not be inside a field
     - a link can generate at most one field on each side

from maxfield.

mvinni avatar mvinni commented on July 24, 2024

I have been testing with an input of 119 portals, and managed to get the running time down from
about 2 minutes to 22 seconds with the exact same settings. I don't want to send a pull request before testing with even bigger inputs, but the current patches can be seen at https://github.com/mvinni/maxfield-1/commits/speedup

Maybe these are useful for others as well.

from maxfield.

Related Issues (20)

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.