org.hd.d.pg2k.svrCore
Class ExhibitPropsComputableMutableVoteCache.Accum

java.lang.Object
  extended by org.hd.d.pg2k.svrCore.ExhibitPropsComputableMutableVoteCache.Accum
Enclosing class:
ExhibitPropsComputableMutableVoteCache

private static final class ExhibitPropsComputableMutableVoteCache.Accum
extends java.lang.Object

The class in which we accumulate stats while recomputing correlations.


Field Summary
(package private)  java.util.concurrent.atomic.AtomicInteger count
          Number of samples that have contributed to this value; strictly positive.
private  double totalConfidence
          Accumulated (sum) confidence value with negative goodness being treated as a negative confidence.
 
Constructor Summary
private ExhibitPropsComputableMutableVoteCache.Accum()
           
 
Method Summary
(package private)  void addToTotalConfidence(double delta)
           
(package private)  double getTotalConfidence()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

count

final java.util.concurrent.atomic.AtomicInteger count
Number of samples that have contributed to this value; strictly positive.


totalConfidence

private double totalConfidence
Accumulated (sum) confidence value with negative goodness being treated as a negative confidence. All access protected by the instance lock.

Constructor Detail

ExhibitPropsComputableMutableVoteCache.Accum

private ExhibitPropsComputableMutableVoteCache.Accum()
Method Detail

getTotalConfidence

double getTotalConfidence()

addToTotalConfidence

void addToTotalConfidence(double delta)

DHD Multimedia Gallery V1.50.55

Copyright (c) 1996-2008, Damon Hart-Davis. All rights reserved.