|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ostore.introspect.SemanticDistanceModel.Delta
Implements Model.Delta
for this model type.
Constructor Summary | |
---|---|
SemanticDistanceModel.Delta(InputBuffer buffer)
|
|
SemanticDistanceModel.Delta(QSVector obs,
SemanticDistanceModel.Filter filter,
SemanticDistanceModel.Table base)
|
Method Summary | |
---|---|
SemanticDistanceModel.Filter |
getFilter()
Get the filter used for this delta's computations |
SemanticDistanceModel.Table |
getTable()
Get the table of distance values in this delta |
void |
serialize(OutputBuffer buffer)
Add the object to the buffer . |
void |
setFilter(SemanticDistanceModel.Filter filter)
Set the filter used for this delta's computations |
Model.Delta |
sum(Model.Delta other)
Produce the sum of this and another Delta . |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SemanticDistanceModel.Delta(QSVector obs, SemanticDistanceModel.Filter filter, SemanticDistanceModel.Table base)
obs
- new observations to include in this delta. This should
be a List<QSPair<QuickSerializable event, Time t>>
sorted by time in ascending order.filter
- the filter to use to recalculate distances.base
- the base table that we started with (we extract the
previous access times from this table)public SemanticDistanceModel.Delta(InputBuffer buffer) throws QSException
Method Detail |
public void serialize(OutputBuffer buffer)
QuickSerializable
buffer
.
serialize
in interface QuickSerializable
buffer
- the output buffer to add the object topublic Model.Delta sum(Model.Delta other)
Model.Delta
Delta
.
sum
in interface Model.Delta
other
- The other Delta
.
Delta
, constructed such that applying
it to a Model
produces an equivalent
Model
to that produced by adding first
this
, then other
.public SemanticDistanceModel.Filter getFilter()
public void setFilter(SemanticDistanceModel.Filter filter)
public SemanticDistanceModel.Table getTable()
public String toString()
toString
in class Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |