public abstract class AbstractColumnAbstraction<E> extends AbstractAbstraction<E> implements ColumnAbstraction<E>
Constructor and Description |
---|
AbstractColumnAbstraction(E[] eventClasses,
double[] column,
double threshold) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<E> |
getAllGEQThreshold() |
java.util.Collection<E> |
getAllLessThanThreshold() |
double[] |
getColumn() |
double |
getThreshold() |
double |
getValue(E e) |
double |
getValue(int index) |
boolean |
holds(E index) |
boolean |
holds(int index) |
getEventClass, getEventClasses, getIndex
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEventClass, getEventClasses, getIndex
public AbstractColumnAbstraction(E[] eventClasses, double[] column, double threshold)
public double getValue(E e)
getValue
in interface ColumnAbstraction<E>
public double getValue(int index)
getValue
in interface ColumnAbstraction<E>
public double getThreshold()
getThreshold
in interface ColumnAbstraction<E>
public double[] getColumn()
getColumn
in interface ColumnAbstraction<E>
public java.util.Collection<E> getAllGEQThreshold()
getAllGEQThreshold
in interface ColumnAbstraction<E>
public java.util.Collection<E> getAllLessThanThreshold()
getAllLessThanThreshold
in interface ColumnAbstraction<E>
public boolean holds(int index)
holds
in interface ColumnAbstraction<E>
public boolean holds(E index)
holds
in interface ColumnAbstraction<E>