Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #29766
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Ben Bacarisse <ben.usenet@bsb.me.uk> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: Condition fullfilled to early "sometimes" |
| Date | Wed, 02 Mar 2016 12:41:39 +0000 |
| Organization | A noiseless patient Spider |
| Lines | 52 |
| Message-ID | <87oaaxhx18.fsf@bsb.me.uk> (permalink) |
| 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> <af964e6d-57d4-484c-a2b8-ecdecab8dd08@googlegroups.com> <8760x5jh1y.fsf@bsb.me.uk> <e579f6a6-f33d-4b4f-84ff-60c8dbb2ce95@googlegroups.com> <03e0e9f1-3f08-4e9a-aa69-f87d45ba8e0b@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain |
| Injection-Info | mx02.eternal-september.org; posting-host="017616aa25f81ec581c44d76d61ba2f3"; logging-data="7471"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/N9D4icvYPDAhEXPzjZAheCLKpOAuMBZ4=" |
| Cancel-Lock | sha1:/N0D7WCGmWlsMYQLWOGaCSKI9H0= sha1:CEaK2Fx+5ZDYapdLDIavpUS/g4k= |
| X-BSB-Auth | 1.533d7c0ef38b70c9f24d.20160302124139GMT.87oaaxhx18.fsf@bsb.me.uk |
| Xref | csiph.com comp.lang.javascript:29766 |
Show key headers only | View raw
jonas.thornvall@gmail.com writes:
> Den onsdag 2 mars 2016 kl. 11:59:36 UTC+1 skrev jonas.t...@gmail.com:
>> Den onsdag 2 mars 2016 kl. 11:44:05 UTC+1 skrev Ben Bacarisse:
>> > jonas.thornvall@gmail.com writes:
>> >
>> > <snip>
>> > 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 } ]
>> >
>> > <snip>
>> > --
>> > Ben.
>>
>> Maybe you mean it did create a regular graph with 4 nodes?
>> But the program looks for regular graphs with x nodes in this case 5.
>
> Maybe i have been unclear it look for regular graphs using the
> specified number of nodes.
>
> Example chain.
> 0,1
> 1,2
> 2,3
> 3,4
> 4,0
That's called a cycle (of length 5). You want to generate regular
graphs of n nodes and degree d with no cycles of length 1? That can't
be it because the program does not do that. We are probably just
talking about different things. I'm glad it's doing whatever it is you
want, but you should still get rid of all those globals.
--
Ben.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Condition fullfilled to early "sometimes" jonas.thornvall@gmail.com - 2016-02-29 21:31 -0800
Re: Condition fullfilled to early "sometimes" jonas.thornvall@gmail.com - 2016-03-01 01:03 -0800
Re: Condition fullfilled to early "sometimes" Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-03-01 11:55 +0000
Re: Condition fullfilled to early "sometimes" jonas.thornvall@gmail.com - 2016-03-01 05:28 -0800
Re: Condition fullfilled to early "sometimes" jonas.thornvall@gmail.com - 2016-03-01 07:49 -0800
Re: Condition fullfilled to early "sometimes" jonas.thornvall@gmail.com - 2016-03-01 23:24 -0800
Re: Condition fullfilled to early "sometimes" jonas.thornvall@gmail.com - 2016-03-02 00:41 -0800
Re: Condition fullfilled to early "sometimes" Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-03-02 10:43 +0000
Re: Condition fullfilled to early "sometimes" jonas.thornvall@gmail.com - 2016-03-02 02:57 -0800
Re: Condition fullfilled to early "sometimes" Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-03-02 11:08 +0000
Re: Condition fullfilled to early "sometimes" jonas.thornvall@gmail.com - 2016-03-02 05:53 -0800
Re: Condition fullfilled to early "sometimes" Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-03-02 16:27 +0000
Re: Condition fullfilled to early "sometimes" jonas.thornvall@gmail.com - 2016-03-02 09:25 -0800
Re: Condition fullfilled to early "sometimes" Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-03-02 20:22 +0000
Re: Condition fullfilled to early "sometimes" jonas.thornvall@gmail.com - 2016-03-02 02:59 -0800
Re: Condition fullfilled to early "sometimes" jonas.thornvall@gmail.com - 2016-03-02 03:10 -0800
Re: Condition fullfilled to early "sometimes" Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-03-02 12:41 +0000
Re: Condition fullfilled to early "sometimes" jonas.thornvall@gmail.com - 2016-03-02 01:42 -0800
Re: Condition fullfilled to early "sometimes" John Harris <niam@jghnorth.org.uk.invalid> - 2016-03-01 10:47 +0000
csiph-web