GraphLibrary  0.0.1
A simple library that implements various graph algorithms.
 All Classes Namespaces Files Functions Variables Typedefs Macros
EntitySelector.hpp File Reference
#include "../gl_base.hpp"
#include "../structures/Color.hpp"
#include <functional>

Go to the source code of this file.

Namespaces

 gl::interface
 

Functions

template<class GRAPH >
std::function< std::pair< bool,
gl::Color >const
gl::index_type src, const
gl::index_type dest)> 
gl::interface::getEdgeSelectorFromGraph (const GRAPH &graph, const gl::Color &trueColor=gl::Color("red"), const gl::Color &falseColor=gl::Color("black"))
 Provides a Selector Object to color the edges in a given Graph. More...
 
template<class PATH >
std::function< std::pair< bool,
gl::Color >const
gl::index_type src, const
gl::index_type dest)> 
gl::interface::getEdgeSelectorFromPath (const PATH &path, const gl::Color &trueColor=gl::Color("red"), const gl::Color &falseColor=gl::Color("black"))
 Provides a Selector Object to color the edges in a given Path. More...
 
template<class SHORTEST_PATH_ALGORITHM >
std::function< std::pair< bool,
gl::Color >const
gl::index_type src, const
gl::index_type dest)> 
gl::interface::getEdgeSelectorFromShortestPath (SHORTEST_PATH_ALGORITHM &spa, const gl::index_type pathSource, const gl::index_type pathDest, const gl::Color &trueColor=gl::Color("red"), const gl::Color &falseColor=gl::Color("black"))
 Provides a Selector Object to color the edges in a Shortest Path. More...
 
template<class SHORTEST_PATH_ALGORITHM >
std::function< std::pair< bool,
gl::Color >const
gl::index_type src, const
gl::index_type dest)> 
gl::interface::getEdgeSelectorFromShortestPathTree (SHORTEST_PATH_ALGORITHM &spa, const gl::index_type treeSource, const gl::Color &trueColor=gl::Color("red"), const gl::Color &falseColor=gl::Color("black"))
 Provides a Selector Object to color the edges in a Shortest Path Tree. More...
 
template<class PATH >
std::function< std::pair< bool,
gl::Color >const
gl::index_type node)> 
gl::interface::getNodeSelectorFromPath (const PATH &path, const gl::Color &trueColor=gl::Color("red"), const gl::Color &falseColor=gl::Color("white"))
 Provides a Selector Object to color the nodes in a given Path. More...
 
template<class SHORTEST_PATH_ALGORITHM >
std::function< std::pair< bool,
gl::Color >const
gl::index_type node)> 
gl::interface::getNodeSelectorFromShortestPath (SHORTEST_PATH_ALGORITHM &spa, const gl::index_type pathSource, const gl::index_type pathDest, const gl::Color &trueColor=gl::Color("red"), const gl::Color &falseColor=gl::Color("white"))
 Provides a Selector Object to color the nodes in a Shortest Path. More...
 
template<class SHORTEST_PATH_ALGORITHM >
std::function< std::pair< bool,
gl::Color >const
gl::index_type node)> 
gl::interface::getNodeSelectorFromShortestPathTree (SHORTEST_PATH_ALGORITHM &spa, const gl::index_type treeSource, const gl::Color &trueColor=gl::Color("red"), const gl::Color &falseColor=gl::Color("white"))
 Provides a Selector Object to color the nodes in a Shortest Path Tree. More...