|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SystemCatalog
System catalog parser. Provides a data structure for accessing information contained in a system's XML catalog.
Method Summary | |
---|---|
Set<String> |
getComponentIDs()
The set of component IDs the system contains. |
Set<String> |
getFaultModes(String componentID)
The set of mode IDs of a given component |
Set<String> |
getModes(String componentID)
The set of mode IDs of a given component |
int |
getNumFaultModes()
Returns the number of total component fault modes |
int |
getNumModes()
Returns the number of total component modes |
int |
getNumNoFaultComponents()
Returns the number of components with no fault modes |
Map<String,Double> |
getSensorsAndCosts()
A map of the system's sensors and their probing cost, if any |
String |
getSystemName()
The name of the system. |
boolean |
isComponentValid(String componentID)
Test the validity of a componentID. |
boolean |
isFaultModeValid(Fault f)
|
boolean |
isFaultModeValid(String componentID,
String modeID)
Given a valid component, test the validity of a mode ID. |
boolean |
isModeValid(String componentID,
String modeID)
Given a valid component, test the validity of a mode ID. |
Method Detail |
---|
String getSystemName()
Set<String> getComponentIDs()
Set<String> getModes(String componentID)
componentID
- component's IDSet<String> getFaultModes(String componentID)
componentID
- component's IDMap<String,Double> getSensorsAndCosts()
boolean isComponentValid(String componentID)
componentID
- component's IDboolean isModeValid(String componentID, String modeID)
componentID
- component IDmodeID
- mode IDboolean isFaultModeValid(String componentID, String modeID)
componentID
- component IDmodeID
- mode IDint getNumModes()
int getNumFaultModes()
int getNumNoFaultComponents()
boolean isFaultModeValid(Fault f)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |