- <init>
Constructs a new GeneralizedCounter of a specified depth
- addToTotal
- arrayPrintDouble
- conditionalize
returns a GeneralizedCounter conditioned on the objects in the List argument.
The length of the argu
- conditionalizeHelper
- conditionalizeOnce
Returns a GeneralizedCounter conditioned on the given top level object. This is
just shorthand (and
- counterView
Returns a read-only synchronous view (not a snapshot) of this as a
ClassicCounter. Any calls to coun
- depth
Returns the depth of the GeneralizedCounter (i.e., the dimension of the
distribution).
- entrySet
- getCount
A convenience method equivalent to #getCounts({o1,o2,o3}); works only for depth
3 GeneralizedCounter
- getCounts
returns a double[] array of length depth+1, containing the conditional counts on
a depth-length list
- incrementCount
same as incrementCount(List, double) but as if Object o were at the end of the
list