S - Type of Summarypublic class Intersection<S extends Summary> extends Object
| Constructor and Description |
|---|
Intersection(SummaryFactory<S> summaryFactory)
Creates new instance
|
| Modifier and Type | Method and Description |
|---|---|
CompactSketch<S> |
getResult()
Gets the internal set as a CompactSketch
|
void |
reset()
Resets the internal set to the initial state, which represents the Universal Set
|
void |
update(Sketch<S> sketchIn)
Updates the internal set by intersecting it with the given sketch
|
public Intersection(SummaryFactory<S> summaryFactory)
summaryFactory - the summary factorypublic void update(Sketch<S> sketchIn)
sketchIn - input sketch to intersect with the internal setpublic CompactSketch<S> getResult()
public void reset()
Copyright © 2015–2017 Yahoo! Inc.. All rights reserved.