Harmonious Coloring: Greedy & Suboptimal Algos

  • Thread starter Thread starter bob j
  • Start date Start date
AI Thread Summary
A greedy algorithm for harmonious coloring on a graph involves starting with a connected graph where only one node is initially colored. The algorithm maintains a list of used color pairs and colors adjacent nodes by reusing existing colors when possible, or introducing new colors as needed. This process continues until all nodes are colored. The approach is straightforward and effectively utilizes existing colors to minimize the introduction of new ones. Such algorithms can provide quick, albeit suboptimal, solutions for harmonious coloring problems.
bob j
Messages
22
Reaction score
0
Hi All,
does anyone know of any greedy or suboptimal algorithm to obtain harmonious coloring on a graph?
 
Mathematics news on Phys.org
what exactly do u want to use it for?
 
Sure, you could easily imagine a greedy suboptimal algorithm. Start with a connected graph where all nodes are colorless but one, which has color 1. Maintain a list of color pairs that have already been used. At every step, color a node which is adjacent to a previous node, using an existing color if possible, otherwise using a new color. Continue until all nodes are colored.
 
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...
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...
Back
Top