Description: Using the simulation code peersim an instance of p2p network, there are comments, easy to read to learn
To Search:
File list (Check if you may need any files):
src-p2p仿真实例
...............\config
...............\......\slacer-conf1.cfg
...............\example
...............\.......\aggregation
...............\.......\...........\AverageFunction.java
...............\.......\...........\AverageObserver.java
...............\.......\...........\PeakDistributionInitializer.java
...............\.......\chord
...............\.......\.....\ChordInitializer.java
...............\.......\.....\ChordMessage.java
...............\.......\.....\ChordProtocol.java
...............\.......\.....\CreateNw.java
...............\.......\.....\FinalMessage.java
...............\.......\.....\LookUpMessage.java
...............\.......\.....\MessageCounterObserver.java
...............\.......\.....\NodeComparator.java
...............\.......\.....\Parameters.java
...............\.......\.....\TrafficGenerator.java
...............\.......\edaggregation
...............\.......\.............\AverageED.java
...............\.......\hot
...............\.......\...\InetCoordinates.java
...............\.......\...\InetInitializer.java
...............\.......\...\InetObserver.java
...............\.......\...\WireInetTopology.java
...............\.......\loadbalance
...............\.......\...........\AvgBalance.java
...............\.......\...........\BasicBalance.java
...............\.......\...........\LBObserver.java
...............\.......\...........\LinearDistributionInitializer.java
...............\.......\...........\QuotaObserver.java
...............\.......\...........\ResetQuota.java
...............\.......\newscast
...............\.......\........\SimpleNewscast.java
...............\greedycheatingliars
...............\...................\GCL-conf1
...............\...................\GCL-conf2
...............\pdSim
...............\.....\CCPObserver.java
...............\.....\DegreeObserver.java
...............\.....\Log.java
...............\.....\Slacer.java
...............\.....\SlacerGraphPrinter.java
...............\.....\SlacerInitializer.java
...............\.....\SlacerObserver.java
...............\.....\Test.java
...............\peersim
...............\.......\Simulator.java
...............\.......\cdsim
...............\.......\.....\CDProtocol.java
...............\.......\.....\CDSimulator.java
...............\.......\.....\CDState.java
...............\.......\.....\DaemonProtocol.java
...............\.......\.....\FullNextCycle.java
...............\.......\.....\NextCycle.java
...............\.......\.....\Shuffle.java
...............\.......\config
...............\.......\......\CheckConfig.java
...............\.......\......\ClassFinder.java
...............\.......\......\ConfigContainer.java
...............\.......\......\ConfigProperties.java
...............\.......\......\Configuration.java
...............\.......\......\FastConfig.java
...............\.......\......\IllegalParameterException.java
...............\.......\......\MissingParameterException.java
...............\.......\......\NullPrintStream.java
...............\.......\......\Operators.java
...............\.......\......\ParsedProperties.java
...............\.......\core
...............\.......\....\Cleanable.java
...............\.......\....\CommonState.java
...............\.......\....\Control.java
...............\.......\....\Fallible.java
...............\.......\....\GeneralNode.java
...............\.......\....\IdleProtocol.java
...............\.......\....\Linkable.java
...............\.......\....\MaliciousProtocol.java
...............\.......\....\ModifiableNode.java
...............\.......\....\Network.java
...............\.......\....\Node.java
...............\.......\....\OracleIdleProtocol.java
...............\.......\....\OverlayGraph.java
...............\.......\....\Protocol.java
...............\.......\....\Scheduler.java
...............\.......\dynamics
...............\.......\........\DynamicNetwork.java
...............\.......\........\MethodInvoker.java
...............\.......\........\NodeInitializer.java
...............\.......\........\OscillatingNetwork.java
...............\.......\........\R