data_reduction
Class Rule2

java.lang.Object
  extended by data_reduction.Rule2
All Implemented Interfaces:
RuleInterface

public class Rule2
extends java.lang.Object
implements RuleInterface


Constructor Summary
Rule2()
           
 
Method Summary
static void deleteElement(HierarchicalClusteringInstance instance, int i)
           
 boolean performRule(HierarchicalClusteringInstance instance)
          Apply the data reduction rule to a distance function.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Rule2

public Rule2()
Method Detail

performRule

public boolean performRule(HierarchicalClusteringInstance instance)
                    throws UnsolvableExecption
Description copied from interface: RuleInterface
Apply the data reduction rule to a distance function.

Specified by:
performRule in interface RuleInterface
Returns:
true=rule shrinks something false=otherwise
Throws:
UnsolvableExecption

deleteElement

public static void deleteElement(HierarchicalClusteringInstance instance,
                                 int i)