Skip to content

Instantly share code, notes, and snippets.

@Jsevillamol
Last active July 13, 2021 18:06
Show Gist options
  • Save Jsevillamol/55aabeb9962d22db05c291a746cf7bad to your computer and use it in GitHub Desktop.
Save Jsevillamol/55aabeb9962d22db05c291a746cf7bad to your computer and use it in GitHub Desktop.
// ~->[DNET-1]->~
// File created by Ingrid Zuckerman at MonashU using Netica 5.18 on Apr 04, 2018 at 08:49:56.
bnet Three_Nations_Problem___comple {
AutoCompile = TRUE;
autoupdate = TRUE;
whenchanged = 1522795722;
visual V1 {
defdispform = BELIEFBARS;
nodelabeling = TITLE;
NodeMaxNumEntries = 50;
nodefont = font {shape= "Arial"; size= 9;};
linkfont = font {shape= "Arial"; size= 9;};
ShowLinkStrengths = 1;
windowposn = (113, 18, 1089, 758);
resolution = 72;
drawingbounds = (1899, 950);
showpagebreaks = FALSE;
usegrid = TRUE;
gridspace = (6, 6);
NodeSet Node {BuiltIn = 1; Color = 0x00E1E1E1;};
NodeSet Nature {BuiltIn = 1; Color = 0x00F8EED2;};
NodeSet Deterministic {BuiltIn = 1; Color = 0x00D3CAA6;};
NodeSet Finding {BuiltIn = 1; Color = 0x00C8C8C8;};
NodeSet Constant {BuiltIn = 1; Color = 0x00FFFFFF;};
NodeSet ConstantValue {BuiltIn = 1; Color = 0x00FFFFB4;};
NodeSet Utility {BuiltIn = 1; Color = 0x00FFBDBD;};
NodeSet Decision {BuiltIn = 1; Color = 0x00DEE8FF;};
NodeSet Documentation {BuiltIn = 1; Color = 0x00F0FAFA;};
NodeSet Title {BuiltIn = 1; Color = 0x00FFFFFF;};
PrinterSetting A {
margins = (1270, 1270, 1270, 1270);
};
};
node A {
kind = NATURE;
discrete = TRUE;
chance = CHANCE;
states = (False, True);
parents = ();
probs =
// False True
(0.9, 0.1);
title = "Oclar has weapons";
whenchanged = 1522795722;
evidence = False;
belief = (1, 0);
visual V1 {
center = (348, 102);
height = 8;
};
};
node A2 {
kind = NATURE;
discrete = TRUE;
chance = CHANCE;
states = (False, True);
parents = (A);
probs =
// False True // A
(1, 0, // False
0.1, 0.9); // True ;
title = "Oclar launched missile";
whenchanged = 1522795066;
belief = (1, 0);
visual V1 {
center = (348, 318);
height = 6;
};
};
node A6 {
kind = NATURE;
discrete = TRUE;
chance = CHANCE;
states = (Neg, Pos);
parents = (A);
probs =
// Neg Pos // A
(0.7, 0.3, // False
0.1, 0.9); // True ;
title = "Oclar Expert 2 Report";
whenchanged = 1522795285;
belief = (0.7, 0.3);
visual V1 {
center = (258, 234);
height = 3;
};
};
node A5 {
kind = NATURE;
discrete = TRUE;
chance = CHANCE;
states = (Neg, Pos);
parents = (A);
probs =
// Neg Pos // A
(0.98, 0.02, // False
0.6, 0.4); // True ;
title = "Oclar Expert 1 Report";
whenchanged = 1522795284;
belief = (0.98, 0.02);
visual V1 {
center = (90, 234);
height = 2;
};
};
node A1 {
kind = NATURE;
discrete = TRUE;
chance = CHANCE;
states = (False, True);
parents = ();
probs =
// False True
(0.9, 0.1);
title = "Trubia has weapons";
whenchanged = 1516946830;
belief = (0.9, 0.1);
visual V1 {
center = (552, 102);
height = 9;
};
};
node A3 {
kind = NATURE;
discrete = TRUE;
chance = CHANCE;
states = (False, True);
parents = (A1, A2);
probs =
// False True // A1 A2
(1, 0, // False False
1, 0, // False True
0.1, 0.9, // True False
0, 1); // True True ;
title = "Trubia launched missile";
whenchanged = 1522795101;
belief = (0.91, 0.09);
visual V1 {
center = (552, 324);
height = 5;
};
};
node A4 {
kind = NATURE;
discrete = TRUE;
chance = CHANCE;
states = (Neg, Pos);
parents = (A3, A2);
probs =
// Neg Pos // A3 A2
(0.995, 0.005, // False False
0.7, 0.3, // False True
0.7, 0.3, // True False
0.3, 0.7); // True True ;
title = "Residue Detected";
whenchanged = 1522795287;
belief = (0.96845, 0.03155);
visual V1 {
center = (444, 444);
height = 7;
};
};
node A7 {
kind = NATURE;
discrete = TRUE;
chance = CHANCE;
states = (Neg, Pos);
parents = (A1);
probs =
// Neg Pos // A1
(0.98, 0.02, // False
0.6, 0.4); // True ;
title = "Trubia Expert 1 Report";
whenchanged = 1522795289;
belief = (0.942, 0.058);
visual V1 {
center = (642, 222);
height = 1;
};
};
node A8 {
kind = NATURE;
discrete = TRUE;
chance = CHANCE;
states = (Neg, Pos);
parents = (A1, A7);
probs =
// Neg Pos // A1 A7
(0.75, 0.25, // False Neg
0.65, 0.35, // False Pos
0.15, 0.85, // True Neg
0.05, 0.95); // True Pos ;
title = "Trubia Expert 2 Report";
whenchanged = 1522795290;
belief = (0.6842, 0.3158);
visual V1 {
center = (834, 222);
height = 4;
};
};
ElimOrder = (A6, A5, A, A4, A2, A3, A1, A7, A8);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment