Public Member Functions | |
int | compareTo (Object o) |
Component (String name, int id) | |
Component (String name, int id, double prob_if) | |
boolean | equals (Object o) |
final FailureDepNode | getFDNode () |
final int | getID () |
final Mode | getMode (int modeType, Component parent) |
final Mode | getModeAB () |
final Mode | getModeDF (Component parent) |
final Mode | getModeIF () |
final Mode | getModeNAB () |
final Collection | getModesDF () |
final String | getName () |
final double | getProbIF () |
boolean | hasFDGParent (Component parent) |
void | initFromFDG (Map assumptions, String assAB, String assNAB, String assIF, String assDF) |
String | toString () |
Protected Member Functions | |
String | createAss (String predicate) |
Protected Attributes | |
TreeMap | dfModes = new TreeMap() |
FailureDepNode | fdNode |
int | id = -1 |
Mode | mode_ab |
Mode | mode_if |
Mode | mode_nab |
String | name |
double | prob_if = -1.0 |
Definition at line 31 of file Component.java.
dfengine.Component.Component | ( | String | name, |
int | id | ||
) | [inline] |
Definition at line 50 of file Component.java.
dfengine.Component.Component | ( | String | name, |
int | id, | ||
double | prob_if | ||
) | [inline] |
Definition at line 55 of file Component.java.
int dfengine.Component.compareTo | ( | Object | o | ) | [inline] |
Definition at line 153 of file Component.java.
String dfengine.Component.createAss | ( | String | predicate | ) | [inline, protected] |
Definition at line 172 of file Component.java.
boolean dfengine.Component.equals | ( | Object | o | ) | [inline] |
Definition at line 60 of file Component.java.
final FailureDepNode dfengine.Component.getFDNode | ( | ) | [inline] |
Definition at line 64 of file Component.java.
final int dfengine.Component.getID | ( | ) | [inline] |
Definition at line 168 of file Component.java.
final Mode dfengine.Component.getMode | ( | int | modeType, |
Component | parent | ||
) | [inline] |
Definition at line 78 of file Component.java.
final Mode dfengine.Component.getModeAB | ( | ) | [inline] |
Definition at line 93 of file Component.java.
final Mode dfengine.Component.getModeDF | ( | Component | parent | ) | [inline] |
Definition at line 108 of file Component.java.
final Mode dfengine.Component.getModeIF | ( | ) | [inline] |
Definition at line 101 of file Component.java.
final Mode dfengine.Component.getModeNAB | ( | ) | [inline] |
Definition at line 97 of file Component.java.
final Collection dfengine.Component.getModesDF | ( | ) | [inline] |
Definition at line 122 of file Component.java.
final String dfengine.Component.getName | ( | ) | [inline] |
Definition at line 164 of file Component.java.
final double dfengine.Component.getProbIF | ( | ) | [inline] |
Definition at line 68 of file Component.java.
boolean dfengine.Component.hasFDGParent | ( | Component | parent | ) | [inline] |
Definition at line 115 of file Component.java.
void dfengine.Component.initFromFDG | ( | Map | assumptions, |
String | assAB, | ||
String | assNAB, | ||
String | assIF, | ||
String | assDF | ||
) | [inline] |
Definition at line 180 of file Component.java.
String dfengine.Component.toString | ( | ) | [inline] |
Definition at line 129 of file Component.java.
TreeMap dfengine.Component.dfModes = new TreeMap() [protected] |
Definition at line 45 of file Component.java.
FailureDepNode dfengine.Component.fdNode [protected] |
Definition at line 38 of file Component.java.
int dfengine.Component.id = -1 [protected] |
Definition at line 36 of file Component.java.
Mode dfengine.Component.mode_ab [protected] |
Definition at line 41 of file Component.java.
Mode dfengine.Component.mode_if [protected] |
Definition at line 42 of file Component.java.
Mode dfengine.Component.mode_nab [protected] |
Definition at line 40 of file Component.java.
String dfengine.Component.name [protected] |
Definition at line 33 of file Component.java.
double dfengine.Component.prob_if = -1.0 [protected] |
Definition at line 47 of file Component.java.