Template Class grid_index_map

Inheritance Relationships

Base Type

  • public rcppsw::patterns::decorator::decorator< std::map< TGrid, TVertex, std::less< TGrid > > > (Template Class decorator)

Class Documentation

template<typename TGrid, typename TVertex, typename TCompare = std::less<TGrid>>
class grid_index_map : public rcppsw::patterns::decorator::decorator<std::map<TGrid, TVertex, std::less<TGrid>>>

Maps a coordinate (e.g., XYZ tuple) to a vertex property. Used for fast queries of “Does this graph contain this vertex”, because in general there is no way to answer that query other than to search the whole graph.

Public Types

using decoratee_type = typename decorator_type::decoratee_type
using decorator_type = typename rpdecorator::decorator<std::map<TGrid, TVertex, TCompare>>::decorator_type

Public Functions

template<typename ...Args>
inline auto Func(Args&&... args) -> decltype(std::declval<decltype(Member)>().Func(args...))
template<typename ...Args>
inline auto Func(Args&&... args) -> decltype(std::declval<decltype(Member)>().Func(args...))
template<typename ...Args>
inline auto Func(Args&&... args) -> decltype(std::declval<decltype(Member)>().Func(args...))
template<typename ...Args>
inline auto Func(Args&&... args) -> decltype(std::declval<decltype(Member)>().Func(args...))
RCPPSW_DECORATE_CT()
RCPPSW_WRAP_DECLDEF(begin)
RCPPSW_WRAP_DECLDEF(end)
RCPPSW_WRAP_DECLDEF(find)
RCPPSW_WRAP_DECLDEF(insert)
RCPPSW_WRAP_DECLDEF(operator[])