Template Class hgrid3D

Inheritance Relationships

Base Type

Class Documentation

template<typename TSpecType>
class hgrid3D : public rcppsw::patterns::decorator::decorator<TSpecType::bgl_impl_type>

A heterogeneous gridded graph (i.e., a basic grid graph with some vertices missing) where edge lengths have structural relevance; that is, if two vertices (u,v) are 3 units apart, then there are two vertices along the path (u,v) which would be present in a basic grid graph which are missing here. Useful for representing distances and such in the real world.

Public Types

using bgl_impl_type = typename spec_type::bgl_impl_type
using decoratee_type = typename rpdecorator::decorator<bgl_impl_type>::decoratee_type
using decorator_type = typename rpdecorator::decorator<bgl_impl_type>::decorator_type
using edge_property_type = typename spec_type::edge_property_type
using spec_type = TSpecType
using vertex_coord_type = typename spec_type::vertex_coord_type
using vertex_property_type = typename spec_type::vertex_property_type
using view_type = hgrid3D_view<spec_type>

Public Functions

hgrid3D(const hgrid3D&) = default
hgrid3D(void) = default
template<typename ...Args>
inline auto Func(Args&&... args) -> decltype(std::declval<decltype(Member)>().Func(args...))
RCPPSW_DECORATE_DECL(directed_category)
RCPPSW_DECORATE_DECL(edge_descriptor)
RCPPSW_DECORATE_DECL(edge_parallel_category)
RCPPSW_DECORATE_DECL(traversal_category)
RCPPSW_DECORATE_DECL(vertex_descriptor)
RCPPSW_DECORATE_DECL(vertex_iterator)
RCPPSW_WRAP_DECLDEF(operator[])
RCPPSW_WRAP_DECLDEF_STATIC(rdgraph, adjacent_vertices)
RCPPSW_WRAP_DECLDEF_STATIC (rdgraph, adjacent_vertices, const)
RCPPSW_WRAP_DECLDEF_STATIC (rdgraph, contains, const)
RCPPSW_WRAP_DECLDEF_STATIC(rdgraph, find)
RCPPSW_WRAP_DECLDEF_STATIC (rdgraph, find, const)
RCPPSW_WRAP_DECLDEF_STATIC (rdgraph, n_vertices, const)
RCPPSW_WRAP_DECLDEF_STATIC (rdgraph, out_degree, const)
RCPPSW_WRAP_DECLDEF_STATIC (rdgraph, out_edges, const)
RCPPSW_WRAP_DECLDEF_STATIC(rdgraph, target)
RCPPSW_WRAP_DECLDEF_STATIC (rdgraph, target, const)
RCPPSW_WRAP_DECLDEF_STATIC(rdgraph, vertices)
RCPPSW_WRAP_DECLDEF_STATIC (rdgraph, vertices, const)
inline view_type subgraph(const vertex_descriptor &start, const rtypes::manhattan_dist &max_dist, boost::optional<rmath::vector3z> axis = boost::none) const