Changed the name from `rustyCTBN` to `reCTBN` (Rust Engine for Continuous Time Bayesian Networks)

pull/44/head
Meliurwen 3 years ago
parent 74039dac94
commit a6c8d3e16d
Signed by: meliurwen
GPG Key ID: 818A8B35E9F1CE10
  1. 2
      Cargo.toml
  2. 2
      README.md
  3. 8
      src/ctbn.rs
  4. 8
      tests/ctbn.rs
  5. 12
      tests/parameter_learning.rs
  6. 2
      tests/params.rs
  7. 14
      tests/structure_learning.rs
  8. 10
      tests/tools.rs
  9. 4
      tests/utils.rs

@ -1,5 +1,5 @@
[package] [package]
name = "rustyCTBN" name = "reCTBN"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"

@ -1,6 +1,6 @@
<div align="center"> <div align="center">
# rustyCTBN # reCTBN
</div> </div>

@ -18,10 +18,10 @@ use std::collections::BTreeSet;
///``` ///```
/// ///
/// use std::collections::BTreeSet; /// use std::collections::BTreeSet;
/// use rustyCTBN::network::Network; /// use reCTBN::network::Network;
/// use rustyCTBN::node; /// use reCTBN::node;
/// use rustyCTBN::params; /// use reCTBN::params;
/// use rustyCTBN::ctbn::*; /// use reCTBN::ctbn::*;
/// ///
/// //Create the domain for a discrete node /// //Create the domain for a discrete node
/// let mut domain = BTreeSet::new(); /// let mut domain = BTreeSet::new();

@ -1,10 +1,10 @@
mod utils; mod utils;
use utils::generate_discrete_time_continous_node; use utils::generate_discrete_time_continous_node;
use rustyCTBN::network::Network; use reCTBN::network::Network;
use rustyCTBN::node; use reCTBN::node;
use rustyCTBN::params; use reCTBN::params;
use std::collections::BTreeSet; use std::collections::BTreeSet;
use rustyCTBN::ctbn::*; use reCTBN::ctbn::*;
#[test] #[test]
fn define_simpe_ctbn() { fn define_simpe_ctbn() {

@ -1,12 +1,12 @@
mod utils; mod utils;
use utils::*; use utils::*;
use rustyCTBN::parameter_learning::*; use reCTBN::parameter_learning::*;
use rustyCTBN::ctbn::*; use reCTBN::ctbn::*;
use rustyCTBN::network::Network; use reCTBN::network::Network;
use rustyCTBN::node; use reCTBN::node;
use rustyCTBN::params; use reCTBN::params;
use rustyCTBN::tools::*; use reCTBN::tools::*;
use ndarray::arr3; use ndarray::arr3;
use std::collections::BTreeSet; use std::collections::BTreeSet;

@ -1,5 +1,5 @@
use ndarray::prelude::*; use ndarray::prelude::*;
use rustyCTBN::params::*; use reCTBN::params::*;
use std::collections::BTreeSet; use std::collections::BTreeSet;
use rand_chacha::ChaCha8Rng; use rand_chacha::ChaCha8Rng;
use rand_chacha::rand_core::SeedableRng; use rand_chacha::rand_core::SeedableRng;

@ -2,15 +2,15 @@
mod utils; mod utils;
use utils::*; use utils::*;
use rustyCTBN::ctbn::*; use reCTBN::ctbn::*;
use rustyCTBN::network::Network; use reCTBN::network::Network;
use rustyCTBN::tools::*; use reCTBN::tools::*;
use rustyCTBN::structure_learning::score_function::*; use reCTBN::structure_learning::score_function::*;
use rustyCTBN::structure_learning::score_based_algorithm::*; use reCTBN::structure_learning::score_based_algorithm::*;
use rustyCTBN::structure_learning::StructureLearningAlgorithm; use reCTBN::structure_learning::StructureLearningAlgorithm;
use ndarray::{arr1, arr2, arr3}; use ndarray::{arr1, arr2, arr3};
use std::collections::BTreeSet; use std::collections::BTreeSet;
use rustyCTBN::params; use reCTBN::params;
#[macro_use] #[macro_use]

@ -1,9 +1,9 @@
use rustyCTBN::tools::*; use reCTBN::tools::*;
use rustyCTBN::network::Network; use reCTBN::network::Network;
use rustyCTBN::ctbn::*; use reCTBN::ctbn::*;
use rustyCTBN::node; use reCTBN::node;
use rustyCTBN::params; use reCTBN::params;
use std::collections::BTreeSet; use std::collections::BTreeSet;
use ndarray::{arr1, arr2, arr3}; use ndarray::{arr1, arr2, arr3};

@ -1,5 +1,5 @@
use rustyCTBN::params; use reCTBN::params;
use rustyCTBN::node; use reCTBN::node;
use std::collections::BTreeSet; use std::collections::BTreeSet;
pub fn generate_discrete_time_continous_node(name: String, cardinality: usize) -> node::Node { pub fn generate_discrete_time_continous_node(name: String, cardinality: usize) -> node::Node {

Loading…
Cancel
Save