org.openrdf.elmo.smusher
Class FastIterativeSmusher

java.lang.Object
  extended by org.openrdf.elmo.smusher.AbstractSmusher
      extended by org.openrdf.elmo.smusher.FastIterativeSmusher
All Implemented Interfaces:
Smusher

public class FastIterativeSmusher
extends AbstractSmusher

A version of the IterativeSmusher for smushers that are independent, i.e. the matches found using one smusher do not influence the matches found with another smusher. In such case, every smusher is executed only once and only the TransitivitySmusher is iterated.

Author:
Peter Mika (pmika@cs.vu.nl)
See Also:
TransitivitySmusher

Field Summary
protected  int _lastCount
           
protected static Logger _logger
           
protected  List<Smusher> _smushers
           
 
Fields inherited from class org.openrdf.elmo.smusher.AbstractSmusher
_listeners
 
Constructor Summary
FastIterativeSmusher()
           
 
Method Summary
 void addSmusher(Smusher smusher)
           
 int getLastCount()
           
 void removeSmusher(Smusher smusher)
           
 void smush(SesameManager firstRepository, SesameManager secondRepository)
           
 
Methods inherited from class org.openrdf.elmo.smusher.AbstractSmusher
addListener, removeListener, smush
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_smushers

protected List<Smusher> _smushers

_lastCount

protected int _lastCount

_logger

protected static final Logger _logger
Constructor Detail

FastIterativeSmusher

public FastIterativeSmusher()
Method Detail

addSmusher

public void addSmusher(Smusher smusher)

removeSmusher

public void removeSmusher(Smusher smusher)

smush

public void smush(SesameManager firstRepository,
                  SesameManager secondRepository)
           throws OpenRDFException
Specified by:
smush in interface Smusher
Specified by:
smush in class AbstractSmusher
Throws:
OpenRDFException

getLastCount

public int getLastCount()
Returns:
Returns the _lastCount.


Copyright © 2004-2008 Aduna. All Rights Reserved.