A new, blazing-fast learning engine for Continuous Time Bayesian Networks. Written in pure Rust. 🦀
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
reCTBN/src/node.rs

26 lines
357 B

use crate::params::*;
3 years ago
pub struct Node {
pub params: Params,
3 years ago
pub label: String
}
impl Node {
pub fn init(params: Params, label: String) -> Node {
3 years ago
Node{
params: params,
label:label
}
}
}
3 years ago
impl PartialEq for Node {
fn eq(&self, other: &Node) -> bool{
self.label == other.label
}
}
3 years ago