bitrl & cuberl Documentation
Simulation engine for reinforcement learning agents
Loading...
Searching...
No Matches
example::Graph Class Reference

Public Types

typedef Node vertex_type
 

Public Member Functions

 Graph (std::string start, std::string end, obj_t py_namespace)
 
void build ()
 
uint_t n_nodes () const noexcept
 
uint_t start_node () const
 
std::vector< Edgeget_node_edges (const Node node) const
 
Nodeget_node (uint_t idx)
 
std::multimap< uint_t, uint_tget_a_star_path ()
 

Member Typedef Documentation

◆ vertex_type

Constructor & Destructor Documentation

◆ Graph()

example::Graph::Graph ( std::string  start,
std::string  end,
obj_t  py_namespace 
)

Member Function Documentation

◆ build()

void example::Graph::build ( )

◆ get_a_star_path()

std::multimap< uint_t, uint_t > example::Graph::get_a_star_path ( )

◆ get_node()

Node & example::Graph::get_node ( uint_t  idx)

◆ get_node_edges()

std::vector< Edge > example::Graph::get_node_edges ( const Node  node) const

◆ n_nodes()

uint_t example::Graph::n_nodes ( ) const
inlinenoexcept

◆ start_node()

uint_t example::Graph::start_node ( ) const
inline

The documentation for this class was generated from the following file: