Skip to content

Commit

Permalink
refactor: benchmarks now have own dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukáš Chudíček committed Nov 12, 2023
1 parent 990a37a commit fcb39f3
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 10 deletions.
8 changes: 3 additions & 5 deletions examples/reachability.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
use biodivine_lib_logical_models::{
prelude::{
BinaryIntegerDomain, GrayCodeIntegerDomain, PetriNetIntegerDomain, UnaryIntegerDomain,
},
reachability_benchmark,
use biodivine_lib_logical_models::benchmarks::reachability::reachability_benchmark;
use biodivine_lib_logical_models::prelude::{
BinaryIntegerDomain, GrayCodeIntegerDomain, PetriNetIntegerDomain, UnaryIntegerDomain,
};

fn main() {
Expand Down
1 change: 1 addition & 0 deletions src/benchmarks/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pub mod reachability;
File renamed without changes.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pub use prototype::reachability_benchmark; // this is the only one that should be publicly exported for now

// pub use prototype::reachability_benchmark; // this is the only one that should be publicly exported for now
pub mod benchmarks;
pub mod prelude; // not `prelude::*`; we want to be explicit about what we import
mod prototype;
mod symbolic_domain;
Expand Down
3 changes: 0 additions & 3 deletions src/prototype/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,3 @@ pub use smart_system_update_fn::*;

mod symbolic_transition_fn;
pub use symbolic_transition_fn::*;

mod reachability;
pub use reachability::*;

0 comments on commit fcb39f3

Please sign in to comment.