i'll do a Timing test with WL and get back to you on the results.

since the evolutionary psychologist Robin Dunbar says that a person's
social network is limited to about 150 other individuals

http://en.wikipedia.org/wiki/Dunbar's_number

i'll let society consist of 10,000,000 individuals

that would correspond to the size of the population of Tokyo or Jakarta

http://en.wikipedia.org/wiki/List_of_cities_proper_by_population

with each individual having a random number of friends ranging from 0 (the
loner) to 150. and then i'll make the 'reciprocal friendship' assumption so
that every friend of an individual has that individual as his friend.

so for society, i'll create a sorted (i'll sort by the first element which
represents the individual's name) list of 10,000,000 elements where each
element is an ordered pair whose first element is the name (represented by
a number) of an individual and whose second element is a sorted list of
names (represented by numbers) of random length ranging from 0 to 150. then
i'll time how long it takes for WL to 'symmetrize' society into symSoc.

this may take me a couple of days to get to since i'm dealing with ongoing
health issues.

stay tuned.

btw - i'm glad we're doing this since Wolfram people did a comparision of
program conciseness in various languages but left out J and APL for some
reason.

http://blog.revolutionanalytics.com/2012/11/which-programming-language-is-the-most-concise.html


On Fri, Sep 13, 2013 at 11:57 AM, Roger Hui <[email protected]>wrote:

> Thanks for the compliment, but I am still interested in how the WL program
> worked.
>
>
> --

*"Those who would sacrifice freedom for security deserve neither." -
Benjamin Franklin*


*"I think that the very notion that equations are a good approach to
describing the natural world is a little bizarre."
 - Stephen Wolfram*

*
*
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to