ResidentNode residentSpeed = (ResidentNode)mebn.getNode("Speed");
assertNotNull(residentSpeed);
// set up instances of object entities
// we need only one object
mebn.getObjectEntityContainer().addEntityInstance(new ObjectEntityInstance("OBJ1", mebn.getObjectEntityContainer().getObjectEntityByName("Object")));
// add three regions
mebn.getObjectEntityContainer().addEntityInstance(new ObjectEntityInstance("RGN1", mebn.getObjectEntityContainer().getObjectEntityByName("Region")));
mebn.getObjectEntityContainer().addEntityInstance(new ObjectEntityInstance("RGN2", mebn.getObjectEntityContainer().getObjectEntityByName("Region")));
mebn.getObjectEntityContainer().addEntityInstance(new ObjectEntityInstance("RGN3", mebn.getObjectEntityContainer().getObjectEntityByName("Region")));
// add three timesteps
// mebn.getObjectEntityContainer().addEntityInstance(new ObjectEntityInstance("T0", mebn.getObjectEntityContainer().getObjectEntityByName("TimeStep")));
// mebn.getObjectEntityContainer().addEntityInstance(new ObjectEntityInstance("T1", mebn.getObjectEntityContainer().getObjectEntityByName("TimeStep")));
mebn.getObjectEntityContainer().addEntityInstance(new ObjectEntityInstance("T2", mebn.getObjectEntityContainer().getObjectEntityByName("TimeStep")));
probabilisticNetwork = new ProbabilisticNetwork(mebn.getName());
SSBN ssbn = new SSBN();
ssbn.setNetwork(probabilisticNetwork);