public void setDBN(DynamicBayesianNetwork dbn) { this.dbn = dbn; this.bnTime0 = dbn.toBayesianNetworkTime0(); this.bnTimeT = dbn.toBayesianNetworkTimeT(); }
/** * {@inheritDoc} */ @Override public void setModel(DynamicBayesianNetwork model_) { this.model = model_; this.bnTime0 = model.toBayesianNetworkTime0(); this.bnTimeT = model.toBayesianNetworkTimeT(); }
public DBNSampler(DynamicBayesianNetwork dbn) { this.dbn = dbn; this.bnTime0 = dbn.toBayesianNetworkTime0(); this.bnTimeT = dbn.toBayesianNetworkTimeT(); this.random = new Random(seed); }
private void resetInfAlgorithms(){ this.infAlgTime0.setModel(this.model.toBayesianNetworkTime0()); this.infAlgTimeT.setModel(this.model.toBayesianNetworkTimeT()); }