lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martijn van Groningen <martijn.is.h...@gmail.com>
Subject Re: svn commit: r1337005 - in /lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene: index/AlcoholicMergePolicy.java util/LuceneTestCase.java
Date Fri, 11 May 2012 13:00:53 GMT
There is room for improvement :)
Yeah we should introduce an amount and order of drinks.
Also the drinking speed is important and whether non-alcoholic
beverages are consumed during the night.

Martijn

On 11 May 2012 1growFactor2:33, Dawid Weiss
<dawid.weiss@cs.put.poznan.pl> wrote:
>>> +  public static enum Drink {
>>> +
>>> +    Beer(15), Wine(17), Champagne(21), WhiteRussian(22),
>>> + SingleMalt(30);
>>> +
>>> +
>>> +    public long drunk() {
>>> +      return drunkFactor;
>>> +    }
>
> I think this isn't an independent value. This isn't even a Markov
> chain as it doesn't depend on the last state of the observed object
> and the drink to follow -- full history of drinks consumed so far
> would have to be considered, their order and quantities matter (i.e.,
> beer after champagne, singlemalt after beer etc.). Overflows (or
> so-called burst points) would certainly have to be empirically
> established as there is no theoretical model for them known in
> literature...
>
> Dawid
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>

-- 
Met vriendelijke groet,

Martijn van Groningen

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message