#include <steiner_strategy.hpp>
Public Member Functions | |
steiner_tree_random_generator (int N=100, int K=3) | |
Constructor. | |
template<typename Metric , typename Terminals > | |
void | gen_components (const Metric &cost_map, const Terminals &terminals, const Terminals &steiner_vertices, steiner_components< typename data_structures::metric_traits< Metric >::VertexType, typename data_structures::metric_traits< Metric >::DistanceType > &components) |
Generates a specified number of components by selecting random elements. | |
Generates specified number of components by selecting random elements.
Definition at line 248 of file steiner_strategy.hpp.