network unknown {
}
variable BGfibers {
  type discrete [ 2 ] { false, true };
}
variable BGM {
  type discrete [ 2 ] { false, true };
}
variable BGnotM {
  type discrete [ 2 ] { false, true };
}
variable C52 {
  type discrete [ 2 ] { false, true };
}
variable C61 {
  type discrete [ 2 ] { false, true };
}
variable C7 {
  type discrete [ 2 ] { false, true };
}
variable CasefindSweater {
  type discrete [ 2 ] { false, true };
}
variable DNAfind {
  type discrete [ 4 ] { DNA X, DNA U, DNA X + U, No DNA };
}
variable DNAU {
  type discrete [ 2 ] { false, true };
}
variable DNAX {
  type discrete [ 2 ] { false, true };
}
variable FiberfindSweater {
  type discrete [ 2 ] { false, true };
}
variable FiberfindYtop {
  type discrete [ 4 ] { matching, non matching, both matching and not matching, no fibers };
}
variable FibersM {
  type discrete [ 2 ] { false, true };
}
variable FibresnotM {
  type discrete [ 2 ] { false, true };
}
variable Prop {
  type discrete [ 2 ] { H1, H2 };
}
variable Sworn {
  type discrete [ 2 ] { false, true };
}
variable TPRaltactX {
  type discrete [ 2 ] { false, true };
}
variable TPRStoY {
  type discrete [ 2 ] { false, true };
}
variable TPRUstrangledY {
  type discrete [ 2 ] { false, true };
}
variable TPRUtoY {
  type discrete [ 2 ] { false, true };
}
variable TPRXstrangledY {
  type discrete [ 2 ] { false, true };
}
variable TPRYtoS {
  type discrete [ 2 ] { false, true };
}
variable UstrangledY {
  type discrete [ 2 ] { false, true };
}
variable Uworn {
  type discrete [ 2 ] { false, true };
}
variable WhichGarment {
  type discrete [ 2 ] { sweater, unknown garment };
}
variable Xaltact {
  type discrete [ 2 ] { false, true };
}
variable XstrangledY {
  type discrete [ 2 ] { false, true };
}
probability ( BGfibers ) {
  table 0.4, 0.6;
}
probability ( BGM | BGfibers, BGnotM ) {
  (false, false) 1.0, 0.0;
  (true, false) 0.0, 1.0;
  (false, true) 1.0, 0.0;
  (true, true) 0.05, 0.95;
}
probability ( BGnotM | BGfibers ) {
  (false) 1.0, 0.0;
  (true) 0.1, 0.9;
}
probability ( C52 | C61, TPRYtoS ) {
  (false, false) 1.0, 0.0;
  (true, false) 0.0, 1.0;
  (false, true) 0.0, 1.0;
  (true, true) 0.0, 1.0;
}
probability ( C61 ) {
  table 0.05, 0.95;
}
probability ( C7 ) {
  table 0.4, 0.6;
}
probability ( CasefindSweater | DNAfind, FiberfindSweater ) {
  (DNA X, false) 0.0, 1.0;
  (DNA U, false) 0.0, 1.0;
  (DNA X + U, false) 0.0, 1.0;
  (No DNA, false) 0.0, 1.0;
  (DNA X, true) 1.0, 0.0;
  (DNA U, true) 0.0, 1.0;
  (DNA X + U, true) 0.0, 1.0;
  (No DNA, true) 0.0, 1.0;
}
probability ( DNAfind | DNAU, DNAX ) {
  (false, false) 0.0, 0.0, 0.0, 1.0;
  (true, false) 0.0, 1.0, 0.0, 0.0;
  (false, true) 1.0, 0.0, 0.0, 0.0;
  (true, true) 0.0, 0.0, 1.0, 0.0;
}
probability ( DNAU | C7, TPRUstrangledY ) {
  (false, false) 1.0, 0.0;
  (true, false) 0.0, 1.0;
  (false, true) 0.0, 1.0;
  (true, true) 0.0, 1.0;
}
probability ( DNAX | TPRaltactX, TPRXstrangledY ) {
  (false, false) 1.0, 0.0;
  (true, false) 0.0, 1.0;
  (false, true) 0.0, 1.0;
  (true, true) 0.0, 1.0;
}
probability ( FiberfindSweater | C52 ) {
  (false) 1.0, 0.0;
  (true) 0.0, 1.0;
}
probability ( FiberfindYtop | FibersM, FibresnotM ) {
  (false, false) 0.0, 0.0, 0.0, 1.0;
  (true, false) 1.0, 0.0, 0.0, 0.0;
  (false, true) 0.0, 1.0, 0.0, 0.0;
  (true, true) 0.0, 0.0, 1.0, 0.0;
}
probability ( FibersM | BGM, TPRStoY, TPRUtoY ) {
  (false, false, false) 1.0, 0.0;
  (true, false, false) 0.0, 1.0;
  (false, true, false) 0.0, 1.0;
  (true, true, false) 0.0, 1.0;
  (false, false, true) 0.0, 1.0;
  (true, false, true) 0.0, 1.0;
  (false, true, true) 0.0, 1.0;
  (true, true, true) 0.0, 1.0;
}
probability ( FibresnotM | BGnotM, TPRUtoY ) {
  (false, false) 1.0, 0.0;
  (true, false) 0.0, 1.0;
  (false, true) 0.0, 1.0;
  (true, true) 0.0, 1.0;
}
probability ( Prop ) {
  table 0.5, 0.5;
}
probability ( Sworn | WhichGarment ) {
  (sweater) 0.0, 1.0;
  (unknown garment) 1.0, 0.0;
}
probability ( TPRaltactX | Xaltact ) {
  (false) 1.0, 0.0;
  (true) 0.4, 0.6;
}
probability ( TPRStoY | Sworn, TPRYtoS ) {
  (false, false) 1.0, 0.0;
  (true, false) 0.2, 0.8;
  (false, true) 1.0, 0.0;
  (true, true) 0.1, 0.9;
}
probability ( TPRUstrangledY | Sworn, UstrangledY ) {
  (false, false) 1.0, 0.0;
  (true, false) 1.0, 0.0;
  (false, true) 1.0, 0.0;
  (true, true) 0.2, 0.8;
}
probability ( TPRUtoY | Uworn ) {
  (false) 1.0, 0.0;
  (true) 0.2, 0.8;
}
probability ( TPRXstrangledY | Sworn, XstrangledY ) {
  (false, false) 1.0, 0.0;
  (true, false) 1.0, 0.0;
  (false, true) 1.0, 0.0;
  (true, true) 0.2, 0.8;
}
probability ( TPRYtoS | Sworn ) {
  (false) 1.0, 0.0;
  (true) 0.2, 0.8;
}
probability ( UstrangledY | Prop ) {
  (H1) 1.0, 0.0;
  (H2) 0.0, 1.0;
}
probability ( Uworn | WhichGarment ) {
  (sweater) 1.0, 0.0;
  (unknown garment) 0.0, 1.0;
}
probability ( WhichGarment ) {
  table 0.5, 0.5;
}
probability ( Xaltact ) {
  table 0.0, 1.0;
}
probability ( XstrangledY | Prop ) {
  (H1) 0.0, 1.0;
  (H2) 1.0, 0.0;
}
