Path: csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Ben Bacarisse Newsgroups: comp.lang.javascript Subject: Re: Condition fullfilled to early "sometimes" Date: Wed, 02 Mar 2016 11:08:11 +0000 Organization: A noiseless patient Spider Lines: 49 Message-ID: <87ziuhi1d0.fsf@bsb.me.uk> References: <6ed0a1f8-d173-4de6-aff6-3590b34072d4@googlegroups.com> <65c8fd95-aefc-452e-ba2b-c4a94b1e7e1d@googlegroups.com> <87si0ajtuk.fsf@bsb.me.uk> <07c551f4-7b92-4e60-afbe-d0bd2ff62962@googlegroups.com> <85aadccc-54fc-4136-a43b-8192fafcaf68@googlegroups.com> <5cb9c676-5153-4676-928b-355b386fe1ca@googlegroups.com> <8760x5jh1y.fsf@bsb.me.uk> <7d8ee7de-9921-4b79-ac1e-b7492abae36a@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="017616aa25f81ec581c44d76d61ba2f3"; logging-data="17840"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/W5GRmsFvqssuBlKCdJABq8jdS5GuQm58=" Cancel-Lock: sha1:p3Dw+o/dgVNPxRBRskJ6LNhpyjc= sha1:jMHQBSk/gHe3ehJeM/f0p2s6Ah8= X-BSB-Auth: 1.19f42996e62ddec984d5.20160302110811GMT.87ziuhi1d0.fsf@bsb.me.uk Xref: csiph.com comp.lang.javascript:29763 jonas.thornvall@gmail.com writes: > Den onsdag 2 mars 2016 kl. 11:44:05 UTC+1 skrev Ben Bacarisse: >> jonas.thornvall@gmail.com writes: >> >> >> Why did you post all those old lines? It's better to cut your messages >> down. >> >> > Phewww http://jt.node365.se/mydebug3.html >> > >> > Last minute rescue!!! At least i have not found any incorrect >> > reports. I think it breaks and decide correct for any generated >> > network. >> >> Not as far as I can see. One sample output: >> >> $ nodejs mydebug3.js >> Hurray **failed** generate regular graph >> >> [ { nodelinks: [ 4, 2 ], nroflinks: 0 }, >> { nodelinks: [ 2, 4 ], nroflinks: 0 }, >> { nodelinks: [ 0, 1 ], nroflinks: 0 }, >> { nodelinks: [], nroflinks: 0 }, >> { nodelinks: [ 0, 1 ], nroflinks: 0 } ] >> >> >> -- >> Ben. > > I am not sure what you mean? Just that with values of linkval == 2 and lmult == 2 I get output as above that appears to report failure. > It can't possibly be a uniform graph, if you don't make a chain? > The last one can't possibly link to itself, it must be a chain? I don't know what the program is trying to do, so I don't know if this output is correct or not. I don't even know if the input values are valid. You are likely to get better help if you explain what you are trying to do (and that would mean using the standard terms). > The program works. Great. -- Ben.