jInfer

cz.cuni.mff.ksi.jinfer.functionalDependencies.repairer
Class RepairFactory

java.lang.Object
  extended by cz.cuni.mff.ksi.jinfer.functionalDependencies.repairer.RepairFactory

public final class RepairFactory
extends Object

Support class for Repair implementations.


Method Summary
static List<RepairImpl> getReliabilityRepairs(List<RepairImpl> repairs)
          Get all repairs that are marking nodes as unreliable.
static List<Pair<RepairImpl,RepairImpl>> getValuePairs(List<RepairImpl> repairs)
          Get pairs of all value repairs.
static List<RepairImpl> getValueRepairs(List<RepairImpl> repairs)
          Get all repairs that modifies node values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getValuePairs

public static List<Pair<RepairImpl,RepairImpl>> getValuePairs(List<RepairImpl> repairs)
                                                       throws InterruptedException
Get pairs of all value repairs.

Parameters:
repairs - List of repairs from which are pairs created.
Returns:
List of pairs of all value repairs.
Throws:
InterruptedException

getReliabilityRepairs

public static List<RepairImpl> getReliabilityRepairs(List<RepairImpl> repairs)
Get all repairs that are marking nodes as unreliable.

Parameters:
repairs - Repairs from which are selected.
Returns:
List of all repairs that are marking nodes as unreliable.

getValueRepairs

public static List<RepairImpl> getValueRepairs(List<RepairImpl> repairs)
Get all repairs that modifies node values.

Parameters:
repairs - Repairs from which are selected.
Returns:
List of all repairs that modifies node values.

jInfer

Generated on Fri Dec 9 00:01:25 CET 2011