Welcome to the AdFlow Wiki!
AdFlow is a framework for simulating ad dissemination over P2P overlay.
Usage
The program receives a single argument - the file name of the
[experiment description XML]
Output
All the output is stored in a directory named as the experiment name in the [experiment description XML]
The following files are created in that directory when the experiment is over:
adReach.dat
a tsv (tab separated values) file with the following columns
- number of advertisement.
- average reach coefficient (averaged over the number of runs specified is the [experiment description XML] ) - the portion of target nodes receiving the advertisement out of all target nodes.
- reach time - the average time it took to get the reach (delivery time of last message)
- adsSent - average (over runs) number of ADM messages sent for this advertisement.
- refPay - average paymemt for referring nodes.
- averageDissLength - average dissemination length of ADMs
finalData.dat
an main.LogAnalyzer.LogAnalyzerData object serialized to a file. Can be read by de-serializing.
refferalPayPerMean.dat
A tsv file holding payment data per uptime mean.
- mean - the portion of the time a node was up.
- referralPay - the average amount of payment nodes with such mean received
- pay/ad - the average amount of payment per ad nodes with such mean received
- adsSent- the average amount of ads nodes with such mean sent
- means - the amount of nodes there were with such mean
refferalPayPerMean.dat
A tsv file holding payment data per node.
- id - the id of the node.
- referralPay - the average amount of payment the node received
- pay/ad - the average amount of payment per ad the node received
- adsSent- the average amount of ads the node sent
- mean - the average uptime mean of the node
- downround - the average downround of the node.
- order - sum of all orders the node was when the node participated in dissemination.
refferalPayPerOrder.dat
A tsv file holding referral payment data per order in dissemination.
- order - the order of the node in the dissemination.
- referralPay - the average amount of payment nodes with such order received
- pay/ad - the average amount of payment per ad nodes with such order received
- adsSent- the average amount of ads nodes with such order sent
totalIncome.dat
A tsv file holding total income payments data per node.
[How to compile]
[Structure of AdFlow]
Project Admins: