VIEŠIEJI FORUMAI/BENDRASIS FORUMAS

Ankstesnis 1 2 3  Sekantis

me naam is m Paskelbta: 07:36:45 2008 12 19

Pranešimai: 985

Temos: 37

Valstybė: Netherlands

Lytis: Vyras



yes LOL. but you didn't have that planet before.




__________________________
Where has the rum gone!?

MBIK Paskelbta: 09:40:37 2008 12 19

Pranešimai: 1832

Temos: 84

Valstybė: Lithuania

Lytis: Vyras



Iiridayn, perhaps it could be O(n(n-1)/2)? ;)




__________________________
This post was made of recycled electrons.





DAngel Paskelbta: 10:35:28 2008 12 19

Pranešimai: 744

Temos: 57

Valstybė: United Kingdom



What it means is a program isnt allowed to give commands back to the page... i.e. You not allowed to get a script to load a certain page and instruct an assault ship to attack a planet.

Your not allowed to set a page to refresh constantly making it so a ship keeps moving in a certain direction. Basicaly a script that tells the page to do something that results in an action is not allowed.

You can however make a program to input the coordinate numbers for a hyperjump, but you are not allowed to make it submit and jump to the said coordinates.

You can create a script to read the information from the page, i.e take a recording of your planets, or read the news.




__________________________
Admin and site owner of - - www.indagalaxy.co.uk

The home of SL Satellite and other great tutorials!



DAngel Paskelbta: 10:39:50 2008 12 19

Pranešimai: 744

Temos: 57

Valstybė: United Kingdom



And for the record... All the software I made for indaGalaxy was done in pure Javascript meaning that the coding was freely available for everyone to see. There were no AJAX calls and there was no submitting information to the website for storing purposes.

i.e. it was totaly clean and useable :-)

Also when I created SL Satellite the coding was also up for review by Proff (and maybe one of his students). This should be the same again so if anyone is to code an application for SL I think the coding should be submitted for Iiri to review.




__________________________
Admin and site owner of - - www.indagalaxy.co.uk

The home of SL Satellite and other great tutorials!



H911Reiver Paskelbta: 11:38:46 2008 12 19

Pranešimai: 1939

Temos: 44

Valstybė: United States

Lytis: Vyras



MBIK:

O(n(n-1)/2)

is not correct because big o notation only takes the most significant one and also drops constants

so that becomes n^2-n when you drop the 1/2 constant, and because as n -> infinity the n is insignificant compared to the n^2, you drop the n as well

so it ends up as O(n^2)

big O is for large orders of behavior, and it has to do with increase in time with increase in n, so n/2 and n both double the time if you double n, so they are both the same in big o




__________________________
Now with 93% less edge and teenage angst

DAngel Paskelbta: 12:00:29 2008 12 19

Pranešimai: 744

Temos: 57

Valstybė: United Kingdom



and for those of us who looked at that and thought WTF

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

Have a read up :-P




__________________________
Admin and site owner of - - www.indagalaxy.co.uk

The home of SL Satellite and other great tutorials!



H911Reiver Paskelbta: 12:08:56 2008 12 19

Pranešimai: 1939

Temos: 44

Valstybė: United States

Lytis: Vyras



big 0 notation for dummies :P




__________________________
Now with 93% less edge and teenage angst

MBIK Paskelbta: 12:22:15 2008 12 19

Pranešimai: 1832

Temos: 84

Valstybė: Lithuania

Lytis: Vyras



H911Reiver, thanks for the explanation. I agree that division by 2 is pointless (oh, did I write it?? :hellno: ). I'd still prefer to write it as O(n^2 - n), although I must agree with you because I didn't know if there were rules about dropping insignificant parts... It's strange that nobody has taught me about it yet.




__________________________
This post was made of recycled electrons.





Shadow Stalker Paskelbta: 12:34:35 2008 12 19

Pranešimai: 11468

Temos: 322

Valstybė: United Kingdom

Lytis: Vyras



And in English this would all mean?




__________________________
It's allways been my fault

MBIK Paskelbta: 13:04:28 2008 12 19

Pranešimai: 1832

Temos: 84

Valstybė: Lithuania

Lytis: Vyras



That this problem is not really a problem, as n is limited to 50 :D




__________________________
This post was made of recycled electrons.





Ankstesnis 1 2 3  Sekantis

VIEŠIEJI FORUMAI
TICKETS
KALBŲ FORUMAI
SKYLORDS POKALBIAI