Menu

experiment description XML

Alex Libov

Experiment description XML is an XML file describing a single experiment.

example:
<attribs>
    <name value="ExampleExperiment"/>
    <nodes value="16" />
    <rounds value="100" />
    <runs value="2" />
    <churnMean value="75" />
    <seed value="123456" />
    <paymodel model = "BaloonChallangePayModel" base="2" scheme="AllImpressions" />
    <targetAudiences>
        <audience fractions="2"/>
        <audience fractions="3"/>
    </targetAudiences>
    <adDisseminationStrategy strategy="AdPriceStrategy" cost="0.0" warmupRand = "1" useProb="false"/>
</attribs>
name

The name attribute specifies the name of the experiment.
A directory with such name will be created and will store the experiment results.

nodes

The nodes attribute sets the size of the P2P network - the amount of nodes that will be created.

rounds

The rounds attributes sets the amount of rounds to run.
During each round, each advertiser node distributes new ADM, impression are simulated and payment notices are sent to all eligible nodes.

runs

The runs attribute sets the numbers of runs to perform this experiment. the results are then averaged overall runs.

churnMean

The value of the churnMean element sets the uptime mean (in rounds number) of the nodes. the uptime is weibull distributed with this mean.

seed

This seed is used to generate different seed for every round. a run with a specific seed must always generate the same results.

paymodel

This element sets the pay model that will be used in this experiment.
list of supported pay models - [Pay models].

target audience

This element list sets the amount of advertiser nodes to be used in the experiment and the size of their target audience. 0 fractions is the whole P2P network, 1 is half etc.

adDisseminationStrategy

This element sets the ad Dissemination Strategy that will be used in this experiment.
list of supported ad Dissemination Strategies - [Ad Dissemination Strategies].


Related

Wiki: Ad Dissemination Strategies
Wiki: Home
Wiki: Pay models