Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #29773

Re: Condition fullfilled to early "sometimes"

From Ben Bacarisse <ben.usenet@bsb.me.uk>
Newsgroups comp.lang.javascript
Subject Re: Condition fullfilled to early "sometimes"
Date 2016-03-02 16:27 +0000
Organization A noiseless patient Spider
Message-ID <87ziughmkf.fsf@bsb.me.uk> (permalink)
References (6 earlier) <af964e6d-57d4-484c-a2b8-ecdecab8dd08@googlegroups.com> <8760x5jh1y.fsf@bsb.me.uk> <7d8ee7de-9921-4b79-ac1e-b7492abae36a@googlegroups.com> <87ziuhi1d0.fsf@bsb.me.uk> <ca64207e-1c1e-4ef2-bbd2-877ba87b1862@googlegroups.com>

Show all headers | View raw


jonas.thornvall@gmail.com writes:

> 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.
>
> 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

What about:

Hurray **failed** generate regular graph 
0'st NODE Links-> 3,9,7
1'st NODE Links-> 5,7,6
2'st NODE Links-> 9,6,8
3'st NODE Links-> 0,5,6
4'st NODE Links-> 9,5,7
5'st NODE Links-> 1,3,4
6'st NODE Links-> 1,2,3
7'st NODE Links-> 0,1,4
8'st NODE Links-> 2
9'st NODE Links-> 0,2,4

?

-- 
Ben.

Back to comp.lang.javascript | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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