26 static void link(
const std::shared_ptr<cell> &c1,
const std::shared_ptr<cell> &c2,
bool bidi =
true) noexcept;
32 static
void unlink(const std::shared_ptr<
cell> &c1, const std::shared_ptr<
cell> &c2,
bool bidi = true) noexcept;
Cell class with links to other cells.
Definition cell.h:19
Configuration class for arguments.
Definition configurator.h:23
Provides link operations.
Definition lab.h:19
static void link(const std::shared_ptr< cell > &c1, const std::shared_ptr< cell > &c2, bool bidi=true) noexcept
Links two cell objects, optionally in both directions.
static void set_neighbors(configurator const &config, const std::vector< int > &indices, std::vector< std::shared_ptr< cell > > &cells_to_set) noexcept
Sets neighbors for a collection of cells based on the provided indices.
static void unlink(const std::shared_ptr< cell > &c1, const std::shared_ptr< cell > &c2, bool bidi=true) noexcept
Unlinks two cell objects, optionally in both directions.
Namespace for the maze builder.
Definition algo_interface.h:6