|
jInfer | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcz.cuni.mff.ksi.jinfer.functionalDependencies.newRepairer.RepairGroup
public class RepairGroup
Class representing repair group from the thesis algorithm.
| Constructor Summary | |
|---|---|
RepairGroup(FD functionalDependency)
Constructor of repair group. |
|
| Method Summary | |
|---|---|
void |
addRepair(RepairCandidate repair)
Add repair candidate to this group. |
void |
addRepairs(Collection<RepairCandidate> repairs)
Add repair candidates to this group. |
FD |
getFunctionalDependency()
Get functional dependency this repair groups is defined for. |
RepairCandidate |
getMinimalRepair()
Get repair candidate with the lowest weight. |
List<RepairCandidate> |
getRepairs()
Get list of all repair candidates contained in this group. |
double |
getWeight()
Get weight of this repair group. |
void |
setWeight(double weight)
Set weight of this repair group. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RepairGroup(FD functionalDependency)
functionalDependency - Functional dependency for which is this group defined.| Method Detail |
|---|
public void addRepair(RepairCandidate repair)
repair - Repair candidates to this group.public void addRepairs(Collection<RepairCandidate> repairs)
repairs - Collection of repair candidates to this group.public List<RepairCandidate> getRepairs()
public void setWeight(double weight)
weight - Weight to be set.public double getWeight()
public RepairCandidate getMinimalRepair()
public FD getFunctionalDependency()
|
jInfer | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||