RE: Manipulating the object distribution

From: Ittai Gilat (ittaig@microsoft.com)
Date: Sun Aug 26 2001 - 06:02:34 MDT


> you should be able to easily modify the existing PGL files to
accomplish this.
>
> you can create three new content types:
>
> give "ctype1" a size of const(750), assign "ctype2" reply size
const(1500).
>
>
> then assign these new content types to "contents" in the server
> structure:
>
> contents = [ ctype1: 34%, ctype2: 22%, ctype3 ];
> direct_access = [ ctype1, ctype2, ctype3 ];

What if I want to use an arbitrary table distribution? For example:
ClassA responses will have size A1 with probability p1, size A2 with
probability p2, and size A3 with probability p3.
ClassB responses will have size B1 with probability q1, size B2 with
probability q2, and size B3 with probability q3.
ClassA is requested with probability pA, and ClassB is requested with
probability pB.
Quoting from polygraph web-site
(http://www.web-polygraph.org/docs/reference/pgl/types.html#type:docs/re
ference/pgl/types/distr):
"Arbitrary distributions can be specified using external
value:probability tables." But I cannot find any documentation on the
expected format of these tables.

Thanks,

Ittai



This archive was generated by hypermail 2b29 : Mon Feb 06 2006 - 12:00:19 MST