Download presentation
Presentation is loading. Please wait.
Published byCleopatra Sarah Stanley Modified over 9 years ago
1
Team Vertex Jimmy Fifield Nick Marino
2
Graph Coloring What is the minimum number of colors needed to color every vertex so that no neighboring vertexes are the same color? NP-Complete problem. Brute force is extremely inefficient as number of colorings increases factorially.
3
Deletion-Contraction Algorithm Recursive. X(G) = min{ X(G + uv), X(G / uv) } u and v cannot be adjacent vertices.
4
Sequential Program Graph.java GraphInputReader.java ColoringCore.java ColoringCoreSeq.java ColoringCoreMain.java ColoringSeq.java
5
Graph Represents a simple graph composed of vertices and edges. Abstracts away the data structure implementation details, Provides a way to perform simple operations on the graph (adding/deleting an edge, contracting two vertices,etc).
6
GraphInputReader This class takes an input file name in the constructor, and then provides a method to read the file, parse the contents, and create a new Graph object based on the results.
7
ColoringCore Interface Provides the specifications for a graph coloring solver. There's a single method - run - that takes a Graph as input and returns the chromatic number of that graph.
8
ColoringCoreSeq Provides a sequential implementation of the deletion-contraction algorithm.
9
ColoringMain This class takes the command line arguments and a ColoringCoreobject. Input. Timing measurements. Utilizes the ColoringCore to calculate the answer.
10
ColoringSeq Creates a new sequential core. Starts the main program.
11
Parallel Program Graph.java GraphInputReader.java ColoringCore.java ColoringCoreSMP.java ColoringCoreMain.java ColoringSMP.java
12
ColoringCoreSMP
13
ColoringSMP
14
Performance Metrics
15
What We Learned
16
Future Work
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.