Conquer Club

Primarly and secondary Objectives

Topics that are not maps. Discuss general map making concepts, techniques, contests, etc, here.

Moderator: Cartographers

Forum rules
Please read the Community Guidelines before posting.

Re: Primarly and secondary Objectives

Postby yeti_c on Wed Apr 08, 2009 4:06 am

Permutations.
Image

where n is the number of different objects and r of them are to be arranged

i.e.

7!/4!

= (7 x 6 x 5 x 4 x 3 x 2 x 1) / (4 * 3 * 2 * 1)

= 210.

Combinations.
Image

i.e.

210/3! = 210 / (3 x 2 x 1) = 210/6 = 35.

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Re: Primarly and secondary Objectives

Postby Qwert on Wed Apr 08, 2009 9:14 am

mine head is hurting of all these numbers.
Can someon give me formula,where i get all 35 combinations?
Or if you can see some mising combinations,can give me.

Still a lot of coding to be done

Actualy,i think that these is no problem.
Image
NEW REVOLUTION-NEW RANKS PRESS THESE LINK viewtopic.php?f=471&t=47578&start=0
User avatar
Major Qwert
SoC Training Adviser
 
Posts: 9262
Joined: Tue Nov 07, 2006 5:07 pm
Location: VOJVODINA

Re: Primarly and secondary Objectives

Postby MrBenn on Wed Apr 08, 2009 12:16 pm

lackattack wrote:An objective can only have territories

--lackattack

There we have it... looks like you'll need to get your list of 35 groups after all!

edit: I've updated the XML tutorial to make this clear ;-)
Image
PB: 2661 | He's blue... If he were green he would die | No mod would be stupid enough to do that
User avatar
Lieutenant MrBenn
 
Posts: 6880
Joined: Wed Nov 21, 2007 9:32 am
Location: Off Duty

Re: Primarly and secondary Objectives

Postby john9blue on Wed Apr 08, 2009 2:38 pm

If:

Lacademonians = 1
Corinthians = 2
Athenians = 3
Boeotians = 4
Lydians = 5
Erythraeans = 6
Macedonians = 7

then:

123、124、125、126、127、134、135、136、 137、145、146、147、156、157、167、234、235、236、237、245、246、 247、256、257、267、345、346、347、356、357、367、456、457、467、567

are the possible combinations.

I really wish Firefox had find and replace... :?
natty_dread wrote:Do ponies have sex?
Army of GOD wrote:the term heterosexual is offensive. I prefer to be called "normal"
(proud member of the Occasionally Wrongly Banned)
User avatar
Captain john9blue
 
Posts: 1268
Joined: Mon Aug 20, 2007 6:18 pm
Location: FlutterChi-town

Re: Primarly and secondary Objectives

Postby Qwert on Wed Apr 08, 2009 4:07 pm

by john9blue » Wed Apr 08, 2009 9:38 pm

If:

Lacademonians = 1
Corinthians = 2
Athenians = 3
Boeotians = 4
Lydians = 5
Erythraeans = 6
Macedonians = 7

then:

123、124、125、126、127、134、135、136、 137、145、146、147、156、157、167、234、235、236、237、245、246、 247、256、257、267、345、346、347、356、357、367、456、457、467、567

are the possible combinations.

I really wish Firefox had find and replace...

Great thanks john,i never think of using numbers. :)
Image
NEW REVOLUTION-NEW RANKS PRESS THESE LINK viewtopic.php?f=471&t=47578&start=0
User avatar
Major Qwert
SoC Training Adviser
 
Posts: 9262
Joined: Tue Nov 07, 2006 5:07 pm
Location: VOJVODINA

Re: Primarly and secondary Objectives

Postby thenobodies80 on Thu Apr 09, 2009 3:41 am

You need 1 shield + 3 combinated?
So you have 1 shield fixed and 7 variabiles...

I think equals to 35

C7,3= 7x6x5 / 3x2x1 = 35

you have 35 possible simple combinations.

If you have some ripetitions the result is 84 but i think it isn't your case. ;)

If you'll need it for future the formula is:

Cn,k= n(n-1)(n-2)...(n-k+1) / k(k-1)(k-2)...1

;)

TNBDS
User avatar
Sergeant 1st Class thenobodies80
 
Posts: 5400
Joined: Wed Sep 05, 2007 4:30 am
Location: Milan

Re: Primarly and secondary Objectives

Postby yeti_c on Thu Apr 09, 2009 3:42 am

MrBenn wrote:
lackattack wrote:An objective can only have territories

--lackattack

There we have it... looks like you'll need to get your list of 35 groups after all!

edit: I've updated the XML tutorial to make this clear ;-)


Yeah - I thought I remembered that correctly...

I guess I should've flowed that into the Tut a long time ago!

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Re: Primarly and secondary Objectives

Postby Qwert on Thu Apr 09, 2009 2:44 pm

well i finish with XML and Grapic changes,nowi need to know next step, i belive that lack will need to lock map and to waith that all present games,be finished,and then to upload new changes
Image
NEW REVOLUTION-NEW RANKS PRESS THESE LINK viewtopic.php?f=471&t=47578&start=0
User avatar
Major Qwert
SoC Training Adviser
 
Posts: 9262
Joined: Tue Nov 07, 2006 5:07 pm
Location: VOJVODINA

Re: Primarly and secondary Objectives

Postby MrBenn on Thu Apr 09, 2009 5:04 pm

I don't really want to merge this thread with the map development thread... [locked]
Image
PB: 2661 | He's blue... If he were green he would die | No mod would be stupid enough to do that
User avatar
Lieutenant MrBenn
 
Posts: 6880
Joined: Wed Nov 21, 2007 9:32 am
Location: Off Duty

Previous

Return to Foundry Discussions

Who is online

Users browsing this forum: No registered users