1.
Graph Coloring using Peer-to-Peer Networks Adrian Iftene, Cornelius Croitoru {adiftene,croitoru}@infoiasi.ro Faculty of Computer Science “ Al.I.Cuza” University, Iaşi, ROMANIA RoEduNet 2006, Sibiu
We consider CAN as part of a virtual d -dimensional Cartesian coordinate space. This is a logical space, and it is not related to a specific physical system.
A 2-dimensional space [0, 100] x [0, 100] with 5 nodes
(0,100) (100,100) (0,0) (100,0) C (0-50,50-100) D (50-75,50-100) E (75-100,50-100) A (0-50,0-50) B (50-100,0-50)
CAN Insertion starts when a new node looks for a source node which is already in CAN.
After that, the new node learns the number of CAN dimensions and generates a d -point in this space (this point is called the destination node ). A route from the source node to the destination node follows the straight path through the Cartesian space .
The destination node splits its zone in half, and assigns one half to the new joining node.
Finally, the neighbours of the split zone must be notified about the new node.
The Graph Coloring Problem (GCP) can be simply stated as follows: given a graph G ( V, E ), assign a color to each vertex in V such that no two adjacent vertex have the same color and such that the number of colors used is as least as possible. This minimum possible number of colors is known as the chromatic number of the graph G and it is denoted by ( G ).
We want to improve existing parallel solutions (e.g. [5]) with a new objective: speed in finding solution .
We consider a peer-to-peer cooperative approach to the graph coloring problem and look at its potential to aid the search for good solutions in reasonable time. Our algorithm divide initial problem in sub-problems and involve all neighbors of main node in solution search.
In first phase , the input vertex set V of the graph G = ( V, E ) is partitioned into p sub-sets { V 1 , V 2 ,..., V p }, cardinality balanced. The subgraphs induced by each subset are sending then to p available neighbors of the main node, for solving.
In second phase , every node that receives one subgraph solves directly the problem (if the size of the problem is less than one specific value) or recursively; it splits the problem and it sends the sub-problems to its available neighbors.
In third phase , the main node receives the partial solutions from its neighbors and tries to combine them into final solution. In this phase the main node finds “ conflicts ”.
Last phase solves the “conflicts” and build the final solution (the solution for initial problem).
9.
Recursive Graph Coloring A node from network will initiate a coloring problem All available neighbours will be involved in problem solving In the end all partial solutions are sended to the initiator All nodes will communicate with problem initiator
Phase II: For coloring we use Greedy Coloring Algorithm [7]: visit the list V ( G ) from the left to the right and for each current node assign a color with the minimum value unused by its neighbors.
First phase (initial problem splitting) and last phase (conflict elimination) can be improved, but these depend by graph generation. Our algorithm used for graph generation obtains the same structure of graphs and we have not a large variation of graph types.
Also, we must see what is happening in fail-over situations: in this case the sub-problem must be send again to another neighbor for solving.
In the future, this kind of approach can help us in graph coloring with a better speed and with a solution close to the optimal.
With characteristics like decentralization, symmetry, robustness, availability and persistence of data, P2P distributed file system are now an important part of file system research and can be involved with success in future in combinatorial solving of problems.
A.T. Stephanos, S. Diomidis, “A survey of peer-to-peer content distribution technologies”, ACM Computing Surveys, Vol. 36, No. 4, December 2004.
H. Ragib, A. Zahid, “A survey of peer-to-peer storage techniques for distributed file system”, National Center for Supercomputing Applications Department of Computer Science, April 2005.
S. Ratnasamy, P. Francis, “A scalable content–addressable network”, University of California, Berkeley, CA, USA, In ICSI Technical Report, 2001.
C. Lund, M. Yannakakis, “On the hardness of approximating minimization problems”, Journal of the ACM, 41(5):960--981, 1994
A. H. Gebremedhin, F. Manne, “Scalable parallel graph coloring algorithms”, University of Bergen, Norway, Concurrency: Pract. Exper, 2000.
R.J. Lipton, R. E. Tarjan, “A separator theorem for planar graphs”, SIAM Journal on Applied Mathematics 36, 2, 177—189, 1979.
J. Culberson, “Iterated greedy graph coloring and the difficulty landscape”, Tech. Rep. 92-07, Department of Computing Science, The University of Alberta, Edmonton, Alberta, Canada, 1992.
Graphs used in the DIMACS Challenge (Discrete Mathematics & Theoretical Computer Science). DIMACS Center CoRE Building Rutgers, The State University of New Jersey 96 Frelinghuysen Road Piscataway, NJ 08854-8018. Graphs are available at address: http://mat.gsia.cmu.edu/COLORING02/index.html
Views
Actions
Embeds 0
Report content