Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
|
#include <GridInterface.hpp>
Public Types | |
using | coordinate_type = TCoordinate |
using | edge_type = TEdge |
using | node_type = ext::pair< TCoordinate, TCoordinate > |
Public Member Functions | |
virtual size_t | nodeCount () const =0 |
virtual size_t | edgeCount () const =0 |
virtual ext::set< node_type > | getNodes () const =0 |
virtual ext::vector< TEdge > | getEdges () const =0 |
virtual ext::set< node_type > | successors (const node_type &n) const =0 |
virtual ext::vector< TEdge > | successorEdges (const node_type &n) const =0 |
virtual ext::set< node_type > | predecessors (const node_type &n) const =0 |
virtual ext::vector< TEdge > | predecessorEdges (const node_type &n) const =0 |
virtual std::string | name () const =0 |
![]() | |
virtual | ~GridBase () noexcept=default |
virtual void | operator>> (ext::ostream &os) const =0 |
using grid::GridInterface< TCoordinate, TEdge >::coordinate_type = TCoordinate |
using grid::GridInterface< TCoordinate, TEdge >::edge_type = TEdge |
using grid::GridInterface< TCoordinate, TEdge >::node_type = ext::pair<TCoordinate, TCoordinate> |
|
pure virtual |
Implemented in grid::SquareGrid< TCoordinate, TEdge >.
|
pure virtual |
Implemented in grid::SquareGrid< TCoordinate, TEdge >.
|
pure virtual |
Implemented in grid::SquareGrid< TCoordinate, TEdge >.
|
pure virtual |
Implemented in grid::SquareGrid4< TCoordinate, TEdge >, grid::SquareGrid8< TCoordinate, TEdge >, grid::WeightedSquareGrid4< TCoordinate, TEdge >, and grid::WeightedSquareGrid8< TCoordinate, TEdge >.
|
pure virtual |
Implemented in grid::SquareGrid< TCoordinate, TEdge >.
|
pure virtual |
Implemented in grid::SquareGrid< TCoordinate, TEdge >.
|
pure virtual |
Implemented in grid::SquareGrid< TCoordinate, TEdge >.
|
pure virtual |
Implemented in grid::SquareGrid< TCoordinate, TEdge >.
|
pure virtual |
Implemented in grid::SquareGrid< TCoordinate, TEdge >.