distanceFunction
Class ConflictExtender

java.lang.Object
  extended by distanceFunction.ConflictExtender
All Implemented Interfaces:
ConflictStorage

public class ConflictExtender
extends java.lang.Object
implements ConflictStorage


Field Summary
private  java.util.Vector<int[]> conflicts
           
private  ConflictStorage extender
           
private  int i
           
private  HierarchicalClusteringInstance instance
           
private  int j
           
 
Constructor Summary
ConflictExtender(ConflictStorage distanceFunction, HierarchicalClusteringInstance instance, int i, int j)
          Constructor for a ConflictExtender which extends another extender.
 
Method Summary
 int[] getArbitraryConflict()
           
 java.util.Iterator<int[]> getConflictIter()
           
 java.util.Vector<int[]> getConflicts()
           
 int getNumberOfConflicts()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

conflicts

private java.util.Vector<int[]> conflicts

extender

private final ConflictStorage extender

i

private final int i

j

private final int j

instance

private HierarchicalClusteringInstance instance
Constructor Detail

ConflictExtender

public ConflictExtender(ConflictStorage distanceFunction,
                        HierarchicalClusteringInstance instance,
                        int i,
                        int j)
Constructor for a ConflictExtender which extends another extender.

Parameters:
distanceFunction -
Method Detail

getArbitraryConflict

public int[] getArbitraryConflict()
Specified by:
getArbitraryConflict in interface ConflictStorage

getConflictIter

public java.util.Iterator<int[]> getConflictIter()

getConflicts

public java.util.Vector<int[]> getConflicts()
Specified by:
getConflicts in interface ConflictStorage

getNumberOfConflicts

public int getNumberOfConflicts()
Specified by:
getNumberOfConflicts in interface ConflictStorage