SPUG: SPUG meetings -- a least path analy

lee_vanhee at easyliving.com lee_vanhee at easyliving.com
Sat Oct 16 07:34:43 CDT 1999


Interesting problem. But what if you want to know the geographical center of the SPUG population. It seems to me you'd have to input the latitude and longitude of each member's starting point (just before a meeting). Then calculate the average lat. and long. from the entire database. 

You could also weight the average by the probability each member would actually attend a meeting at the population center. For example, if A would attend 10 out of 10 meetings and B would attend 5 out of 10, you could multiply A's latitude by 10 and B's by 5, then add them and divide by 15 (to get the weighted average latitude).

----------------------------------------------------------------
Get your free email from AltaVista at http://altavista.iname.com

 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    POST TO: spug-list at pm.org        PROBLEMS: owner-spug-list at pm.org
 Seattle Perl Users Group (SPUG) Home Page: http://www.halcyon.com/spug/
 SUBSCRIBE/UNSUBSCRIBE: Replace ACTION below by subscribe or unsubscribe
        Email to majordomo at pm.org: ACTION spug-list your_address





More information about the spug-list mailing list