Commit 8099e287 authored by Jonas Seidel's avatar Jonas Seidel

-

parent d7cf3969
......@@ -12,7 +12,7 @@ int main(){
while(true){
CirculationNetwork g(defaults);
while(!Graph_Generator<CirculationNodeFields, CirculationEdgeFields>::grow_random(g, 5, 7, rand_edges, rand_nodes).first){
while(!random_graph_generator<CirculationNodeFields, CirculationEdgeFields>::grow_random(g, 5, 7, rand_edges, rand_nodes).first){
std::cout << "failed graph generation" << std::endl;
};
std::cout << "successfull generation" << std::endl;
......
......@@ -9,7 +9,7 @@ int main(){
random_attribute_generator<CirculationEdgeFields> rand_gen_edge ({{Capacity, {Integral, 0, 5}}});
random_attribute_generator<CirculationNodeFields> rand_gen_node ({});
while(!Graph_Generator<CirculationNodeFields, CirculationEdgeFields>::grow_random_acyclic(g,5,7, rand_gen_edge, rand_gen_node).first){
while(!random_graph_generator<CirculationNodeFields, CirculationEdgeFields>::grow_random_acyclic(g,5,7, rand_gen_edge, rand_gen_node).first){
std::cout << "failed attempt" << std::endl;
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment