Skip to content

Commit

Permalink
small bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Diandre Sabale committed Oct 10, 2023
1 parent 1c1b0aa commit 8b21440
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
6 changes: 3 additions & 3 deletions Source/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ function get_min_width_node_order(g::DiGraph; max_exact_width = 10, return_width
end
end
min_width = minimum([x[2] for x in values(partial_orders)])
if min_width == 1
println(g)
end
# if min_width == 1
# println(g)
# end
for node_order_and_width in values(partial_orders)
if node_order_and_width[2] == min_width
return_width && return node_order_and_width[2]
Expand Down
10 changes: 2 additions & 8 deletions debug-aids.jl
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
using Plots.PlotMeasures
include("Experiments/build_color_summaries.jl")
include("Experiments/get_true_cardinalities.jl")
include("Experiments/load_datasets.jl")
include("Experiments/load_querysets.jl")
include("Experiments/run_estimators.jl")
include("Experiments/graph_results.jl")
include("Experiments/utils.jl")
include("Experiments/Experiments.jl")

# datasets::Vector{DATASET} = [aids, human, lubm80, yago, yeast, hprd, wordnet, dblp, youtube, eu2005, patents]
datasets::Vector{DATASET} = [aids]
Expand All @@ -17,4 +11,4 @@ build_experiments(experiment_params_list)

run_estimation_experiments(experiment_params_list)

graph_grouped_box_plot(experiment_params_list, x_type=query_type, y_type=error, grouping=cycle_size, filename="debug-aids")
graph_grouped_box_plot(experiment_params_list, x_type=query_type, y_type=estimate_error, grouping=cycle_size, filename="debug-aids")

0 comments on commit 8b21440

Please sign in to comment.