Sample Simulation Files


Parsed Log File

18410:online:22
70230:query:57:0
70230:queryreachespeer:57:0
70239:online:57
71612:query:57:2
71612:queryreachespeer:57:1
80748:online:51
80757:query:51:2
80757:queryreachespeer:51:2
82868:connect:57:51
93298:online:46
94288:publish:46:11
95117:query:46:2
95117:queryreachespeer:46:3
95773:query:46:4
95773:queryreachespeer:46:4
95988:query:46:5
95988:queryreachespeer:46:5
96018:query:46:6
96018:queryreachespeer:46:6
96835:query:46:8
96835:queryreachespeer:46:7
97247:offline:46
114201:online:18
126056:online:35
195254:online:39
It can be seen that these parsed events from the simulation show a time of the event, the type of event and parameters on who or what the event is happening between. A full sample can be found here.

Saved XML Graph

<?xml version="1.0" encoding="UTF-8"?>
<network>
  <graph>
    <!--Description of a P2PNetworkGraph-->
    <nodemap>
      <node type="PeerVertex">
        <key>4</key>
      </node>
      <node type="PeerVertex">
        <key>5</key>
      </node>
      <node type="PeerVertex">
        <key>7</key>
      </node>
      <node type="DocumentVertex">
        <key>16</key>
      </node>
      <node type="DocumentVertex">
        <key>17</key>
      </node>
    </nodemap>
    <edgemap>
      <edge type="PeerToPeer">
        <v1>57</v1>
        <v2>51</v2>
      </edge>
      <edge type="PeerToPeer">
        <v1>51</v1>
        <v2>57</v2>
      </edge>
      <edge type="PeerToDocument">
        <v1>31</v1>
        <v2>1017</v2>
      </edge>
    </edgemap>
  </graph>
  <logevents>
    <event type="query">
      <timedifference>31670</timedifference>
      <param1>30</param1>
      <param2>0</param2>
      <param3>0</param3>
    </event>
    <event type="queryreachespeer">
      <timedifference>31670</timedifference>
      <param1>30</param1>
      <param2>87</param2>
    </event>
    <event type="online">
      <timedifference>31680</timedifference>
      <param1>30</param1>
    </event>
    <event type="unqueryreachespeer">
      <timedifference>32420</timedifference>
      <param1>30</param1>
      <param2>87</param2>
    </event>
    <event type="unquery">
      <timedifference>33670</timedifference>
      <param1>30</param1>
      <param2>0</param2>
    </event>
  </logevents>
</network>


Here is a sample of a graph which was saved from the visualizer and can be read back in, the log events after the graph save took place will continue regularly.
A full sample can be found here, and the XML schema for loading and saving the graph XML files is located here or can be seen in the image below.


ċ
2697LineLog.txt
(74k)
Matthew Smith,
May 3, 2012, 11:48 AM
ċ
NetworkSaving-Schema.xsd
(3k)
Matthew Smith,
May 4, 2012, 1:20 PM
ċ
Saved Graph.xml
(1045k)
Matthew Smith,
May 3, 2012, 11:48 AM
ą
Matthew Smith,
May 4, 2012, 1:20 PM
Comments