www.pudn.com > planetsim_3.0.zip > chord_scribe.properties


################################################################################ 
# Chord configuration file:                                                    # 
# -----------------------------                                                # 
# This file specifies all properties (including the Chord specifics ones) to   # 
# run any test with the Chord overlay.                                         # 
#                                                                              # 
# How to use:                                                                  # 
# -----------------------------                                                # 
# All properties are divided into different semantical parts.                  # 
# You must specify the desired properties values into the following lines.     # 
#                                                                              # 
# Made by:                                                                     # 
#  Jordi Pujol Ahullo (jordi.pujol@estudiants.urv.es)                          # 
# Under:                                                                       # 
#  Planet Project: http://ants.etse.urv.es/planet                              # 
#  PlanetSim:      htpp://ants.etse.urv.es/planetsim                           # 
################################################################################ 
 
 
################################################################################ 
# FACTORIES PART                                                               # 
################################################################################ 
 
########## MANDATORY ATTRIBUTES 
 
# The default NetworkFactory class 
FACTORIES_NETWORKFACTORY = planet.generic.commonapi.factory.NetworkFactoryImpl 
 
# The default IdFactory class 
FACTORIES_IDFACTORY = planet.generic.commonapi.factory.IdFactoryImpl 
 
# The default NodeHandleFactory class  
FACTORIES_NODEHANDLEFACTORY = planet.generic.commonapi.factory.NodeHandleFactoryImpl 
 
# The default NodeFactory class 
FACTORIES_NODEFACTORY = planet.generic.commonapi.factory.NodeFactoryImpl 
 
# The default RouteMessagePool class 
FACTORIES_ROUTEMESSAGEPOOL = planet.generic.commonapi.factory.RouteMessagePoolImpl 
 
# The default Network class 
FACTORIES_NETWORK = planet.generic.commonapi.NetworkImpl 
 
# The default NodeHandle class 
FACTORIES_NODEHANDLE = planet.generic.commonapi.NodeHandleImpl 
 
# The default RouteMessage class 
FACTORIES_ROUTEMESSAGE = planet.generic.commonapi.RouteMessageImpl 
 
# The default network topology. 
# Default possible values: RANDOM, CIRCULAR, SERIALIZED 
FACTORIES_NETWORKTOPOLOGY = RANDOM 
 
# The default initial network size 
FACTORIES_NETWORKSIZE = 1000 
 
 
########## OPTIONAL ATTRIBUTES: Test dependant 
 
# The default ApplicationFactory class 
FACTORIES_APPLICATIONFACTORY = planet.generic.commonapi.factory.ApplicationFactoryImpl 
 
# The default EndPointFactory class 
FACTORIES_ENDPOINTFACTORY = planet.generic.commonapi.factory.EndPointFactoryImpl 
 
# The default Application class 
FACTORIES_APPLICATION = planet.scribe.ScribeImpl 
 
# The default EndPoint class 
FACTORIES_ENDPOINT = planet.generic.commonapi.EndPointImpl 
 
 
################################################################################ 
# SIMULATOR PART                                                               # 
################################################################################ 
 
########## MANDATORY ATTRIBUTES 
 
# The number of stabilization steps for any node at join or leave 
SIMULATOR_SIMULATION_STEPS = 2 
 
# The log level (to use by Logger.log(...) ) 
# Default possible values (from more to less important logs): 0 (error), 1 (events), 2 (node info), 3 (message) 
SIMULATOR_LOG_LEVEL = 0 
 
# The print level for whole network (to use by GenericApp.printNetwork() method) 
# Default possible values: 0 (no print), 1 (pretty print), 2 (full print) 
SIMULATOR_PRINT_LEVEL = 1 
 
# The environment for the current simulation 
# Default possible values: SIMULATION (by steps), EXPERIMENTAL (by threads and real TCP connections) 
# Only SIMULATION has available 
SIMULATOR_ENVIRONMENT = SIMULATION 
 
# The queue size for the incomming and outgoing queues 
SIMULATOR_QUEUE_SIZE = 128 
 
# The maximum number of messages to be processed per node per step 
SIMULATOR_PROCESSED_MESSAGES = 128 
 
########## OPTIONAL ATTRIBUTES: Test dependant 
 
# The events filename to load 
SIMULATOR_EVENT_FILE = ./data/test_join1000r.txt 
 
 
################################################################################ 
# SERIALIZATION PART                                                           # 
################################################################################ 
 
########## OPTIONAL ATTRIBUTES: Test dependant 
 
# Serialized file that contains the network to be loaded 
SERIALIZATION_INPUT_FILE = 
 
# Filename to which serialize the final state 
SERIALIZATION_OUTPUT_FILE = 
 
# Identifies if the output file must be replaced with new outputs, when the 
# state is serialized 
SERIALIZATION_REPLACE_OUTPUT_FILE = false 
 
 
################################################################################ 
# BEHAVIOURS PART                                                              # 
################################################################################ 
     
########## OPTIONAL ATTRIBUTES: Overlay dependant 
 
# The default BehaviourFactory class 
BEHAVIOURS_FACTORY =  
 
# The default BehavioursPool class 
BEHAVIOURS_POOL =  
 
# The default BehavioursRoleSelector class 
BEHAVIOURS_ROLESELECTOR = 
 
# The default BehavioursInvoker class 
BEHAVIOURS_INVOKER = 
 
# The default BehavioursFilter class 
BEHAVIOURS_FILTER = 
 
# The default BehavioursPattern class 
BEHAVIOURS_PATTERN = 
 
# The default PropertiesInitializaer class for the behaviours properties 
BEHAVIOURS_PROPERTIES = 
 
# The default number of message types used in the current overlay 
BEHAVIOURS_NUMBEROFTYPES = 
 
# The default number of message modes used in the current overlay 
BEHAVIOURS_NUMBEROFMODES = 
 
################################################################################ 
# SPECIFIC PROPERTIES OF BEHAVIOURS PART                                       # 
################################################################################ 
 
########## OPTIONAL ATTRIBUTES: Overlay dependant 
 
# The default percentage of faulty nodes 
BEHAVIOURS_PROPERTIES_FAULTY_NODES = 
 
# The default distribution of malicious node 
BEHAVIOURS_PROPERTIES_MALICIOUS_DISTRIBUTION = 
 
# Identifies when to show specific debug info for behaviours 
BEHAVIOURS_PROPERTIES_DEBUG = 
 
# NOTE: The following keys start by 'BEHAVIOURS_PROPERTIES_INSTANCE', ended  
#       with an incremental integer number to make them different 
 
# All required instances for the current behaviours implementation 
BEHAVIOURS_PROPERTIES_INSTANCE_1 = 
 
 
################################################################################ 
# OVERLAY PART                                                                 # 
################################################################################ 
 
########## MANDATORY ATTRIBUTES 
 
# The default Id class 
OVERLAY_ID = planet.chord.ChordId 
 
# The default Node class 
OVERLAY_NODE = planet.chord.ChordNode 
 
# The default OverlayProperties implementation class 
OVERLAY_PROPERTIES = planet.chord.ChordProperties 
 
# Identifies if this overlay implementation uses behaviours 
# Default possible values: false | true 
OVERLAY_WITH_BEHAVIOURS = false 
 
################################################################################ 
# CHORD SPECIFIC PART                                                          # 
################################################################################ 
 
########## MANDATORY ATTRIBUTES 
 
# The default number of stabilize steps 
CHORD_STABILIZATION_STEPS = 10  
 
# The default number of steps to fix finger tables 
CHORD_FIX_FINGER_STEPS = 5 
 
# The default size of successor list 
CHORD_SUCCESSOR_LIST_SIZE = 16 
 
# The default number of bits for ChordIds 
CHORD_BITS_PER_KEY = 32 
 
 
################################################################################ 
# RESULTS PART                                                                 # 
################################################################################ 
 
# 
# IMPORTANT: All different results attributes must appear in comma separated  
# format, using each position for the same results type for all attributes. 
# 
 
########## OPTIONAL ATTRIBUTES: Test dependant 
 
# The default ResultsFactory class 
RESULTS_FACTORY = 		planet.generic.commonapi.results.ResultsFactoryImpl, \ 
						planet.generic.commonapi.results.ResultsFactoryImpl 
 
# The default ResultsEdge class 
RESULTS_EDGE = 			planet.generic.commonapi.results.ResultsEdgeImpl, \ 
						planet.generic.commonapi.results.ResultsEdgeImpl 
 
# The default ResultsConstraint class 
RESULTS_CONSTRAINT = 	planet.generic.commonapi.results.ResultsIdleConstraint, \ 
						planet.generic.commonapi.results.ResultsIdleConstraint 
 
# The default ResultsGenerator class 
RESULTS_GENERATOR = 	planet.generic.commonapi.results.ResultsGMLGenerator, \ 
						planet.generic.commonapi.results.ResultsPajekGenerator 
 
# The default PropertiesInitializer for results properties 
RESULTS_PROPERTIES = 	planet.generic.commonapi.results.ResultsGMLProperties, \ 
						planet.generic.commonapi.results.ResultsGMLProperties 
 
# The unique names for each results type 
RESULTS_UNIQUE_NAME = 	GML, \ 
						PAJEK 
 
################################################################################ 
# GML SPECIFIC RESULTS PART                                                    # 
################################################################################ 
 
########## OPTIONAL ATTRIBUTES: Test dependant 
 
# The default width of the virual bounding box 
RESULTS_PROPERTIES_GML_WIDTH = 20.0f 
 
# The default height of the virtual bounding box 
RESULTS_PROPERTIES_GML_HEIGHT = 20.0f 
 
# The default shape of the node 
RESULTS_PROPERTIES_GML_SHAPE = ellipse 
 
# The default fill color for the shape of the node (in #'RRGGBB' format)  
RESULTS_PROPERTIES_GML_FILL = CCCCFF 
 
# The default alternative fill color for the shape of the node (in #'RRGGBB' format) 
RESULTS_PROPERTIES_GML_ALTERNATIVE_FILL = 00FF66 
 
# The default color of the border line (in #'RRGGBB' format) 
RESULTS_PROPERTIES_GML_OUTLINE = 000000 
 
# The default font size of the node Id lavel 
RESULTS_PROPERTIES_GML_FONT_SIZE = 12 
 
# The default font name of the node Id label 
RESULTS_PROPERTIES_GML_FONT_NAME = dialog 
 
# The default minimal node distance arranged on a circle 
RESULTS_PROPERTIES_GML_MINIMAL_NODE_DISTANCE = 50