Package org.jbpt.mining
Class HittingSets
- java.lang.Object
-
- org.jbpt.mining.HittingSets
-
public class HittingSets extends java.lang.ObjectThis class implements a collection of hitting sets. Hitting Sets uses conflict sets to calculate the diagnosis candidates.- Version:
- %I%, %G%
- Author:
- Sujeevan ASEERVATHAM
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.VectorconflictsThe conflict sets from which the hitting sets are calculated.protected java.util.VectorhittingSetsThe hitting sets of the conflict.
-
Constructor Summary
Constructors Constructor Description HittingSets(java.util.Vector conflicts)Creates hitting sets from system conflicts.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcalculateHittingSets(java.util.Vector cs, java.util.Vector hs)Calculates the hitting sets from a set of conflicts.java.util.VectorgetSets()Method used to get the hitting sets.
-
-
-
Method Detail
-
getSets
public java.util.Vector getSets()
Method used to get the hitting sets.- Returns:
- The hitting sets.
-
calculateHittingSets
protected void calculateHittingSets(java.util.Vector cs, java.util.Vector hs)Calculates the hitting sets from a set of conflicts. This method implements a Boolean Algebraic algorithm to calculate the hitting sets.- Parameters:
cs- The conflict sets.hs- The vector in which the hitting sets should be stored.
-
-