I want to color a graph such that for any vertex v1 and v2, if there are n paths between them:
p1 = (v1, p11,p12,v2)
p2 = (v1, p21,p22,v2)
...
pn = (v1, pn1,pn2,v2)
(p11,p12 are vertices of the path, the path has four vertices)
pi means a path, pi1 and pi2 are the two vertices between v1 and v2.
There mustn't exist two paths pi and pj such that c(pi1) = c(pj1) and c(pi2) = c(pj2), where c(v) means the color of vertex v.
Simply speaking, the paths between v1 and v2 should be distinguishable.
Our goal is to minimize the number of colors.
Is there a coloring algorithm satisfying above conditions? Star coloring definitely satisfies the conditions but it needs more colors.
p1 = (v1, p11,p12,v2). p1 being a path connecting to vertices v1 and v2, but what is this two other arguments in the middle, what do they even mean for you? - Shane Hsup1 = (v1, v11, v12, ..., v2). If that's the correct interpretation, it's an interesting problem. If not, it's a different (interesting?) problem - John Dvorakc(pi2)is a vertex color). I'm still wondering about mine. If any walk is available, it greatly simplifies the problem, and I can write an answer. If not, I can only give an upper bound. - John Dvorak