Are there any (well validated) approaches for applying pathfinding algorithms on a graph following specific rules?
To be more specific: I want to introduce a graph with coloured edges. The idea is to apply a well known pathfinding algorithm (such as Dijkstra) on the graph given the rule: "only black and red edges".