Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/path_calculator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ use crate::heap_item::HeapItem;
use crate::shortest_path::ShortestPath;
use crate::valid_flags::ValidFlags;

#[derive(Clone, Debug)]
pub struct PathCalculator {
num_nodes: usize,
data_fwd: Vec<Data>,
Expand Down Expand Up @@ -375,6 +376,7 @@ impl PathCalculator {
}
}

#[derive(Clone, Debug)]
struct Data {
settled: bool,
weight: Weight,
Expand Down
2 changes: 1 addition & 1 deletion src/preparation_graph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ impl PreparationGraph {
}
}

#[derive(Clone)]
#[derive(Clone, Debug)]
pub struct Arc {
pub adj_node: NodeId,
pub weight: Weight,
Expand Down
1 change: 1 addition & 0 deletions src/valid_flags.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ use crate::constants::NodeId;

/// Maintains a collection of N boolean flags that can efficiently be reset by incrementing a
/// single integer
#[derive(Clone, Debug)]
pub struct ValidFlags {
valid_flags: Vec<u32>,
valid_flag: u32,
Expand Down