Skip to content

Commit

Permalink
implemented subtree query
Browse files Browse the repository at this point in the history
  • Loading branch information
Randy1005 committed Jun 7, 2023
1 parent a162369 commit ccca776
Show file tree
Hide file tree
Showing 9 changed files with 393 additions and 1,416 deletions.
5 changes: 2 additions & 3 deletions examples/c7552/c7552.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@ int main(int argc, char *argv[]) {
}


std::ofstream ofs("c7552.graph.updates");
timer.dump_graph_ops(ofs, 1, 10000, true, 1);

std::ofstream ofs("c7552.edges");
timer.dump_edge_insertions(ofs);

return 0;
}
Expand Down
5 changes: 2 additions & 3 deletions examples/simple/simple.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,9 @@ int main(int argc, char *argv[]) {
timer.dump_at(std::cout);
timer.dump_power(std::cout);

// dump graph operations
std::ofstream ofs("simple.graph.updates");
timer.dump_graph_ops(ofs, 1, 20, true, 1);

std::ofstream ofs("simple.edges");
timer.dump_edge_insertions(ofs);

return 0;
}
Expand Down
5 changes: 2 additions & 3 deletions examples/tv80/tv80.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ int main(int argc, char *argv[]) {
}


std::ofstream ofs("tv80.graph.updates");
timer.dump_graph_ops(ofs, 1, 10000, true, 1);

std::ofstream ofs("tv80.edges");
timer.dump_edge_insertions(ofs);

return 0;
}
Expand Down
8 changes: 5 additions & 3 deletions examples/vga_lcd/vga_lcd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ int main(int argc, char *argv[]) {
std::cout << paths[i] << '\n';
}

std::ofstream ofs("vga_lcd.graph.updates");
timer.dump_graph_ops(ofs, 50, 100000, true, 50);

//std::ofstream ofs("vga_lcd.graph.updates");
//timer.dump_graph_ops(ofs, 50, 100000, true, 50);

std::ofstream ofs("vga_lcd.edges");
timer.dump_edge_insertions(ofs);


return 0;
Expand Down
Loading

0 comments on commit ccca776

Please sign in to comment.