diff --git a/Cargo.toml b/Cargo.toml index 547a8b8..53c74f6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,18 +1,5 @@ -[package] -name = "reCTBN" -version = "0.1.0" -edition = "2021" +[workspace] -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - -[dependencies] -ndarray = {version="*", features=["approx-0_5"]} -thiserror = "*" -rand = "*" -bimap = "*" -enum_dispatch = "*" -statrs = "*" -rand_chacha = "*" - -[dev-dependencies] -approx = { package = "approx", version = "0.5" } +members = [ + "reCTBN", +] diff --git a/reCTBN/Cargo.toml b/reCTBN/Cargo.toml new file mode 100644 index 0000000..547a8b8 --- /dev/null +++ b/reCTBN/Cargo.toml @@ -0,0 +1,18 @@ +[package] +name = "reCTBN" +version = "0.1.0" +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] +ndarray = {version="*", features=["approx-0_5"]} +thiserror = "*" +rand = "*" +bimap = "*" +enum_dispatch = "*" +statrs = "*" +rand_chacha = "*" + +[dev-dependencies] +approx = { package = "approx", version = "0.5" } diff --git a/src/ctbn.rs b/reCTBN/src/ctbn.rs similarity index 100% rename from src/ctbn.rs rename to reCTBN/src/ctbn.rs diff --git a/src/lib.rs b/reCTBN/src/lib.rs similarity index 100% rename from src/lib.rs rename to reCTBN/src/lib.rs diff --git a/src/network.rs b/reCTBN/src/network.rs similarity index 100% rename from src/network.rs rename to reCTBN/src/network.rs diff --git a/src/parameter_learning.rs b/reCTBN/src/parameter_learning.rs similarity index 100% rename from src/parameter_learning.rs rename to reCTBN/src/parameter_learning.rs diff --git a/src/params.rs b/reCTBN/src/params.rs similarity index 100% rename from src/params.rs rename to reCTBN/src/params.rs diff --git a/src/sampling.rs b/reCTBN/src/sampling.rs similarity index 100% rename from src/sampling.rs rename to reCTBN/src/sampling.rs diff --git a/src/structure_learning.rs b/reCTBN/src/structure_learning.rs similarity index 100% rename from src/structure_learning.rs rename to reCTBN/src/structure_learning.rs diff --git a/src/structure_learning/constraint_based_algorithm.rs b/reCTBN/src/structure_learning/constraint_based_algorithm.rs similarity index 100% rename from src/structure_learning/constraint_based_algorithm.rs rename to reCTBN/src/structure_learning/constraint_based_algorithm.rs diff --git a/src/structure_learning/hypothesis_test.rs b/reCTBN/src/structure_learning/hypothesis_test.rs similarity index 100% rename from src/structure_learning/hypothesis_test.rs rename to reCTBN/src/structure_learning/hypothesis_test.rs diff --git a/src/structure_learning/score_based_algorithm.rs b/reCTBN/src/structure_learning/score_based_algorithm.rs similarity index 100% rename from src/structure_learning/score_based_algorithm.rs rename to reCTBN/src/structure_learning/score_based_algorithm.rs diff --git a/src/structure_learning/score_function.rs b/reCTBN/src/structure_learning/score_function.rs similarity index 100% rename from src/structure_learning/score_function.rs rename to reCTBN/src/structure_learning/score_function.rs diff --git a/src/tools.rs b/reCTBN/src/tools.rs similarity index 100% rename from src/tools.rs rename to reCTBN/src/tools.rs diff --git a/tests/ctbn.rs b/reCTBN/tests/ctbn.rs similarity index 100% rename from tests/ctbn.rs rename to reCTBN/tests/ctbn.rs diff --git a/tests/parameter_learning.rs b/reCTBN/tests/parameter_learning.rs similarity index 100% rename from tests/parameter_learning.rs rename to reCTBN/tests/parameter_learning.rs diff --git a/tests/params.rs b/reCTBN/tests/params.rs similarity index 100% rename from tests/params.rs rename to reCTBN/tests/params.rs diff --git a/tests/structure_learning.rs b/reCTBN/tests/structure_learning.rs similarity index 100% rename from tests/structure_learning.rs rename to reCTBN/tests/structure_learning.rs diff --git a/tests/tools.rs b/reCTBN/tests/tools.rs similarity index 100% rename from tests/tools.rs rename to reCTBN/tests/tools.rs diff --git a/tests/utils.rs b/reCTBN/tests/utils.rs similarity index 100% rename from tests/utils.rs rename to reCTBN/tests/utils.rs