Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Forth > Re: [SPOILER] R...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 16 of 22 Topic 4048 of 4136
Post > Topic >>

Re: [SPOILER] Re: more euler problems

by cac <cac@[EMAIL PROTECTED] > May 13, 2008 at 10:16 AM

Anton Ertl wrote:
> cac <cac@[EMAIL PROTECTED]
> writes:
>> Hmmm. My approach was to divide the triangle into an upper half and a 
>> lower half, and enumerate the boundary as you did. Where I get wedged
>> is the rotation and reflection issue. I need to figure out how many
>> non-distinct colourings there are, and subtract that from my answer;
> 
> As far as I understand the task, rotation and reflection is a
> non-issue.  If you enumerate all colourings for one orientation,
> that's the answer.
> 
> If you had a way to create only one of, say, the two mirror images
> (along some axis), then you would have to count it twice, unless the
> colouring is symmetric.  But with the usual enumerative approach we
> get both mirror images anyway.

 From the problem statement:

     A colouring C' which is obtained from a colouring C by rotation or 

     reflection is considered distinct from C unless the two are
     identical.

     How many distinct valid colourings are there for the above
     configuration?

I read that as saying if a rotation or reflection is identical, it
is not distinct, and should not be counted. Am I confused as to
the interpretation?

For example, with a much smaller triangle, I generate the following
arrangements:

       R         R
     R B G     G B R

They are both generated by my algorithm, and add 2 to the enumeration.
Are they distinct by the problem definition?

-- Charles
 




 22 Posts in Topic:
[SPOILER] Re: Euler problem #187
anton@[EMAIL PROTECTED]   2008-05-09 20:27:46 
Re: [SPOILER] Re: Euler problem #187
mhx@[EMAIL PROTECTED] (M  2008-05-10 00:42:26 
Re: [SPOILER] Re: Euler problem #187
cac <cac@[EMAIL PROTEC  2008-05-09 16:23:19 
Re: [SPOILER] Re: Euler problem #187
anton@[EMAIL PROTECTED]   2008-05-10 09:43:00 
Re: [SPOILER] Re: Euler problem #187
mhx@[EMAIL PROTECTED] (M  2008-05-10 12:45:19 
Re: [SPOILER] Re: Euler problem #187
anton@[EMAIL PROTECTED]   2008-05-10 13:11:43 
Re: [SPOILER] Re: Euler problem #187
mhx@[EMAIL PROTECTED] (M  2008-05-10 19:29:58 
Counted loops (was: [SPOILER] Re: Euler problem #187)
anton@[EMAIL PROTECTED]   2008-05-10 17:34:43 
Re: [SPOILER] Re: Euler problem #187
mhx@[EMAIL PROTECTED] (M  2008-05-10 20:10:28 
Re: [SPOILER] Re: Euler problem #187
Luca Masini <lmasini@[  2008-05-10 23:54:21 
Re: [SPOILER] Re: Euler problem #187
mhx@[EMAIL PROTECTED] (M  2008-05-11 00:58:55 
more euler problems, was Re: Euler problem #187
Albert van der Horst <  2008-05-12 14:21:47 
[SPOILER] Re: more euler problems
anton@[EMAIL PROTECTED]   2008-05-12 18:43:32 
Re: [SPOILER] Re: more euler problems
cac <cac@[EMAIL PROTEC  2008-05-12 13:26:55 
Re: [SPOILER] Re: more euler problems
anton@[EMAIL PROTECTED]   2008-05-13 10:14:55 
Re: [SPOILER] Re: more euler problems
cac <cac@[EMAIL PROTEC  2008-05-13 10:16:55 
Re: [SPOILER] Re: more euler problems
anton@[EMAIL PROTECTED]   2008-05-13 18:22:29 
Re: [SPOILER] Re: more euler problems
cac <cac@[EMAIL PROTEC  2008-05-13 12:25:24 
Re: more euler problems, was Re: Euler problem #187
William James <w_a_x_m  2008-05-17 16:40:44 
Re: [SPOILER] Re: Euler problem #187
William James <w_a_x_m  2008-05-17 17:01:57 
Re: Euler problem #187
William James <w_a_x_m  2008-05-17 15:18:54 
Re: Euler problem #187
Bernd Paysan <bernd.pa  2008-05-18 01:24:16 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Jul 9 6:04:39 CDT 2008.