Giter Site home page Giter Site logo

distribution-sweep's People

Contributors

constanzafierro avatar vichoko avatar

Watchers

 avatar  avatar  avatar

distribution-sweep's Issues

SegmentParser: UtilsIOSegments.getSegments

Lanzo este error:

Starting Sweep...
Disconnected from the target VM, address: '127.0.0.1:50821', transport: 'socket'
Exception in thread "main" java.lang.NumberFormatException: For input string: "(12.272"
	at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043)
	at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
	at java.lang.Double.parseDouble(Double.java:538)
	at utils.UtilsIOSegments.getSegments(UtilsIOSegments.java:34)
	at utils.UtilsIOSegments.readPage(UtilsIOSegments.java:99)
	at utils.UtilsIOSegments.readPage(UtilsIOSegments.java:70)
	at algorithm.DistributionSweep.writeIntersections(DistributionSweep.java:298)
	at algorithm.DistributionSweep.recursiveDistributionSweep(DistributionSweep.java:184)
	at algorithm.DistributionSweep.getIntersections(DistributionSweep.java:44)
	at test.first.main(first.java:32)

Process finished with exit code 1

Debe ser un caso de borde. Voy a seguir testeando para ver si pasa denuevo. No se como apareció ese '(' ahí.
En el archivo fuente no aparece ningun '(' y las apariencias de 12.272 fueron;

	Line 120: 12.272,78.511,0.175,78.511,
	Line 7645: 12.272,48.777,12.272,69.215,
	Line 7645: 12.272,48.777,12.272,69.215,
	Line 64501: 84.633,92.564,84.633,12.272,

SegmentGenerator

Para n muy grandes aparecen segmentos con coordenadas negativas, esto produce problemas en el codigo.

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.