I am attempting to create a local search heuristic for a given greedy algorithm that attempts to 3-color a graph. This greedy algorithm can get stuck (ie, can color no more vertices), at which point my heuristic is used to slightly modify the current graph coloring to attempt to make more progress with the greedy algorithm. I know that I need to define a neighborhood of a given incomplete coloring, and then search through this neighborhood for better coloring candidates. My idea is to define the neighborhood as all colorings reachable by swapping two vertex colors in the graph. However, I'm a little bit confused about how to go about this. What if the coloring is such that no swaps can be made to maintain the coloring's validity? How do I select the vertices to swap?
Neighborhood Structure for Graph Coloring Local Search Heuristic
431 views Asked by BobbyPin At
0
There are 0 answers
Related Questions in GRAPH-ALGORITHM
- Finding optimal swapping paths in employees moving to different cities
- How create an adjacency matrix of a Maze graph
- Convert python functions (shortestpath/ prediction function using nx.adamic_adar_index) into API
- How is a cut lonely if there are often multiple edges crossing a cut in a connected undirected graph?
- How to group nodes in a directed graph so that no two nodes in a group have paths between them?
- Is this total sink algorithm only for dags?
- What would be the best way to solve this maximum path graph problem, is Dijkstra possible even?
- Given undirected graph when removing edges one-by-one verify if removed one was a bridge and if so - the vertices of both parts
- Select n items from a set of subsets
- Implementing Kosaraju's Algorithm for SCC's
- modify current algorithm - APSP
- Does the removal of a few edges remove all paths to a node?
- Sliding Puzzle - DFS Issue
- Can we transform a graph in a way that applying DFS to the new graph would result in the same traversal order as applying BFS on the first graph?
- Advantages of linked lists in adjacency representation of a graph
Related Questions in HEURISTICS
- Optimising my C loop for a combinatorial problem
- How can the Minimax (or Negamax) algorithm be implemented in a game like Scotland Yard?
- How to specify a dummy model/heuristic rule as a model in tidymodels?
- How to improve Pong AI with limited game state checks?
- Color Maze AI with A* Search- Heuristic function
- Constraint Satisfaction Problem - Least constraining value question
- How to enable heuristics in Myers linear space Diff algorithm?
- Longest Palindromic Substring - Optimization
- How to tell if a bunch of shapes are all mirror images using OpenCV?
- I need help implementing Negascout (principal variation search) for Othello
- Looking for ways of clustering data acording to distance
- Choosing proper heuristic for A* algorithm in subway network
- OptaPlanner - How to configure a selectionFilter in construction heuristics phase?
- A* search in 8-puzzle prolog
- Intuition behind heuristic functions plus example
Related Questions in APPROXIMATION
- Defining Lagrange linear basis function (P1) on P2 isoparametric triangular element
- How to find an Approximate Polynomial using Perceptron
- Computing a piecewise-linear approximation of a function of three variables
- approx function in R is it random?
- I'm trying to make a while loop that approximates the value of cos(x) so that its to within - or + 1-e10
- Approximating mathematical constant e in Python
- How Fast Can We Approximate Set Jaccard Scores?
- Sine curve to fit data cloud using C++
- Calculating the length of a cord line based on forces
- 3d triangle approximation with rectangular prisms
- Why does my binary search algorithm miss the optimal solution, and how can it be improved?
- Solving a system of matrix equations in Mathematica
- Weibull distribution
- Merge datasets in R by similiar (but not the same) row names
- Efficient gabriel graph generation wthout DT
Related Questions in GRAPH-COLORING
- Assign visually distinct colors to graphs with undirected edges
- Color edges distinctly in network based on attribute value
- Why is my graph coloring code not coloring the graph correctly?
- Graph Coloring implementation in traffic routing
- Recursion - Creating a matrix to paint a PPM file
- Python Welsh-Powell graph coloring
- Python: Hvplot negative values coloring
- exact gurobi solver for chromatic number of coloring problem [error in the objective]
- Graph Coloring in Prolog
- Add/change link frame color in sankey diagram
- How do I perform graph colouring in networkx with a given number of colours?
- PuLP only shows __dummy variable
- cannot find pysat=0.1.3 dependency
- Dataset of graph coloring with the chromatic number of the instances
- python greedy coloring
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)