Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #29768
| Newsgroups | comp.lang.javascript |
|---|---|
| Date | 2016-03-02 05:53 -0800 |
| References | (5 earlier) <5cb9c676-5153-4676-928b-355b386fe1ca@googlegroups.com> <af964e6d-57d4-484c-a2b8-ecdecab8dd08@googlegroups.com> <8760x5jh1y.fsf@bsb.me.uk> <7d8ee7de-9921-4b79-ac1e-b7492abae36a@googlegroups.com> <87ziuhi1d0.fsf@bsb.me.uk> |
| Message-ID | <ca64207e-1c1e-4ef2-bbd2-877ba87b1862@googlegroups.com> (permalink) |
| Subject | Re: Condition fullfilled to early "sometimes" |
| From | jonas.thornvall@gmail.com |
Den onsdag 2 mars 2016 kl. 12:08:17 UTC+1 skrev Ben Bacarisse:
> jonas.thornvall@gmail.com writes:
>
> > 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.
> >
> > 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.
Well i said nothing about cycle length i just ordered because of simplicity but
The subsets all on the form links*multiple+1=nodes, i just thought it was handy when drawing all to all and looked nice. But of course i can do something where you can chose nodes and links free.
But these is regular graphs, all nodes have same number of links, but as you hint maybe just a subset of them?
0'st NODE Links-> 4,5,1
1'st NODE Links-> 0,2,6
2'st NODE Links-> 1,9,4
3'st NODE Links-> 9,5,8
4'st NODE Links-> 0,2,9
5'st NODE Links-> 0,3,7
6'st NODE Links-> 1,8,7
7'st NODE Links-> 5,6,8
8'st NODE Links-> 3,6,7
9'st NODE Links-> 2,3,4
Another example
0 NODE Links-> 1,8,2
1 NODE Links-> 0,3,9
2 NODE Links-> 0,9,7
3 NODE Links-> 1,9,7
4 NODE Links-> 6,7,5
5 NODE Links-> 4,8,6
6 NODE Links-> 4,5,8
7 NODE Links-> 2,3,4
8 NODE Links-> 0,5,6
9 NODE Links-> 1,2,3
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