Solving Color Convergence Problem - Monte's Research

  • Thread starter Thread starter Monte_Carlo
  • Start date Start date
  • Tags Tags
    Color Convergence
Monte_Carlo
Messages
70
Reaction score
0
Hello,

I'm pondering over this research question.

Let's suppose you've got a bunch of units which can be colored black or white. They're roaming around 2d grid in random walk. Any time a unit meets with another unit, it has an option to change color. It doesn't have to though, depending on its internal logic. The point is to calculate how long will it take until all units over the grid are of the same color.

Anybody knows what this problem is called, and how to model it? Any advice would be appreciated.

I'm thinking of simple strategy like each unit counts the number of black and white units it met with, and as soon as one number exceeds the other, the unit will change color. Any ideas how to math model this?

Thanks,

Monte
 
Mathematics news on Phys.org
Monte_Carlo said:
I'm thinking of simple strategy like each unit counts the number of black and white units it met with, and as soon as one number exceeds the other, the unit will change color.

And I'm thinking you might want to rethink that.

EDIT: snippy, smart-*** comment deleted. :smile:
 
Last edited:
Phinds,

Got you, but just to make sure we're on the same page here:

if unit color is black and it sees one white unit then 1 > 0 (like you say) and it flips color because it simply assumes the most frequent color amongst units it has seen. Each unit keeps count of white and black units it has seen.

I simulated this approach - it does converge. Question is how to model this mathematically (it's pretty simple to program.)

Also, if you have a simpler approach amenable to modeling it would be great also. Any ideas if this is some canonical (or well known problem)?

Thanks,

Monte
 
Monte_Carlo said:
Phinds,

Got you, but just to make sure we're on the same page here:

if unit color is black and it sees one white unit then 1 > 0 (like you say) and it flips color because it simply assumes the most frequent color amongst units it has seen. Each unit keeps count of white and black units it has seen.

I simulated this approach - it does converge. Question is how to model this mathematically (it's pretty simple to program.)

Also, if you have a simpler approach amenable to modeling it would be great also. Any ideas if this is some canonical (or well known problem)?

Thanks,

Monte

I don't know this kind of problem, so no help to you there.

It does seem that your approach seems easy to model, but boring. It would be more interesting if the rules were more complex.

Now that I think about it there used to be a "game" that programmers loved to play (and may still for all I know) that is EXACTLY the same kind of thing. Try looking that up on the Internet and see if it helps you out. Try Googling "game of life".
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Thread 'Imaginary Pythagorus'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...
Back
Top