File tree Expand file tree Collapse file tree 1 file changed +1
-18
lines changed
src/DynamicVehicleScheduling Expand file tree Collapse file tree 1 file changed +1
-18
lines changed Original file line number Diff line number Diff line change @@ -289,7 +289,7 @@ function plot_epochs(
289289 :markerstrokewidth => 0.5 ,
290290 )
291291
292- if plot_routes_flag && ! isnothing (sample . y_true)
292+ if plot_routes_flag
293293 fig = plot_routes (
294294 state,
295295 sample. y_true;
@@ -325,19 +325,6 @@ function plot_epochs(
325325
326326 return combined_plot
327327end
328-
329- """
330- $TYPEDSIGNATURES
331-
332- Plot multiple epochs side by side, optionally filtering to specific epoch indices.
333- """
334- function plot_epochs (
335- data_samples:: Vector{<:DataSample} , epoch_indices:: Vector{Int} ; kwargs...
336- )
337- filtered_samples = data_samples[epoch_indices]
338- return plot_epochs (filtered_samples; kwargs... )
339- end
340-
341328"""
342329$TYPEDSIGNATURES
343330
@@ -363,10 +350,6 @@ function animate_epochs(
363350 cost_bar_color_palette= :turbo ,
364351 kwargs... ,
365352)
366- if length (data_samples) == 0
367- error (" No data samples provided" )
368- end
369-
370353 pd = build_plot_data (data_samples)
371354 epoch_costs = [- sample. instance. reward for sample in data_samples]
372355
You can’t perform that action at this time.
0 commit comments