18.12.2012 Views

Roxana - Gabriela HORINCAR Refresh Strategies and Online ... - LIP6

Roxana - Gabriela HORINCAR Refresh Strategies and Online ... - LIP6

Roxana - Gabriela HORINCAR Refresh Strategies and Online ... - LIP6

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2.3 Window Freshness<br />

In this section we define the window freshness, another quality measure for content-based<br />

feed aggregation services. Window freshness evaluates item loss, but from a short-term<br />

point of view. We consider item loss as being temporary, i.e. all items that have not been<br />

already fetched by the aggregator can be retrieved as soon as it refreshes the source <strong>and</strong><br />

the window freshness takes the value 1.<br />

Window freshness takes values in the interval [0, 1] <strong>and</strong> measures the quality of the aggregator<br />

publication window by the fraction of items which are available both in the publication<br />

window <strong>and</strong> in the corresponding source feed at the same time instant. It is defined in<br />

two steps. The first step defines window freshness of a query feed f generated by filter<br />

query q with respect to a single source feed s ∈ S(q), denoted by FW (f/s, t). The second<br />

step defines window freshness with respect to all sources si ∈ S(q), denoted by FW (f, t).<br />

Furthermore, we define window freshness with respect to all sources si ∈ S(q) computed<br />

over a period of time, denoted by FW (f).<br />

Definition 2.3.1. Window freshness with respect to a single source<br />

Window freshness with respect to a single source feed s ∈ S(q) compares the number of<br />

items relevant to query q available both on the publication window of the source feed s<br />

<strong>and</strong> on the publication stream of the query feed f at time instant t, for |q(A(s, t))| > 0:<br />

FW (f/s, t) =<br />

By definition, FW (f/s, t) = 1 if |q(A(s, t))| = 0.<br />

|F (f, t) ∩ q(A(s, t))|<br />

|q(A(s, t))|<br />

Definition 2.3.2. Window freshness with respect to all sources<br />

The window freshness of a query feed f at time t with respect to all sources si ∈ S(q) is<br />

defined as the average of all single-source freshness scores:<br />

FW (f, t) = 1 �<br />

∗ FW (f/si, t)<br />

|S(q)|<br />

si∈S(q)<br />

We say that a query feed f is fresh <strong>and</strong> its window freshness with respect to all its sources<br />

S(q) = {s1, ...sk} takes the maximum value FW (f, t) = 1 if f contains all the items that<br />

are available at time instant t in the publication windows A(si, t) of all sources si ∈ S(q)<br />

<strong>and</strong> that are relevant to query q.<br />

Definition 2.3.3. Window freshness over a period of time<br />

The window freshness of a query feed f with respect to all sources si ∈ S(q) computed<br />

over a period of time ∆T is defined as:<br />

FW (f) = 1<br />

∆T ∗<br />

� ∆T<br />

FW (f, t)dt<br />

0<br />

28

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!