de.lmu.ifi.dbs.elki.data.synthetic.bymodel
Interface GeneratorInterfaceDynamic

All Superinterfaces:
GeneratorInterface
All Known Implementing Classes:
GeneratorSingleCluster

public interface GeneratorInterfaceDynamic
extends GeneratorInterface

Interface for a dynamic cluster generator. A cluster generator is considered dynamic when it allows "rejecting" points and the generation of additional new points.


Method Summary
 void addDiscarded(int discarded)
          Indicate that points were discarded.
 int getDiscarded()
          Get number of discarded points
 int getRetries()
          Retrieve remaining number of retries.
 
Methods inherited from interface de.lmu.ifi.dbs.elki.data.synthetic.bymodel.GeneratorInterface
generate, getDensity, getDim, getName, getPoints, getSize
 

Method Detail

getDiscarded

int getDiscarded()
Get number of discarded points

Returns:
number of discarded points

addDiscarded

void addDiscarded(int discarded)
Indicate that points were discarded.

Parameters:
discarded - number of points that were discarded.

getRetries

int getRetries()
Retrieve remaining number of retries.

Returns:
remaining number of retries

Release 0.4.0 (2011-09-20_1324)