mesarpe / socialccnsim Goto Github PK
View Code? Open in Web Editor NEWSocial CCN Sim is a CCN simulator, which represents interaction of users in a CCN network
License: GNU General Public License v2.0
Social CCN Sim is a CCN simulator, which represents interaction of users in a CCN network
License: GNU General Public License v2.0
if a trace with more than 10 user, I get this error
Traceback (most recent call last):
File "socialccnsim.py", line 409, in
executor.run()
File "socialccnsim.py", line 182, in run
self.sched.run()
File "/usr/lib/python2.7/sched.py", line 117, in run
action(*argument)
File "socialccnsim.py", line 253, in consume_from_server
path = self.topology_nodes.get_path(social_issuer, row[1])
File "/home/moh/socialccnsim1/topology_manager.py", line 103, in get_path
return self.paths.calculate_path(self.topology_nodes[social_src], self.topology_nodes[social_dst])
KeyError: 18
when I exectute
python -O socialccnsim.py 2 lce facebook abilene lru exampletrace/verysmall
it display as follows(on Ubuntu 14):
Traceback (most recent call last):
File "socialccnsim.py", line 363, in
executor = Executor(G, petersen, CACHE_SIZE, CACHING_STRATEGY, CACHE_STRUCTURE, SEQUENCE_FILE, MOBILITY_ENABLED, STEP_PRINTING, topology_file=TOPOLOGY_GRAPH)
File "socialccnsim.py", line 115, in init
self.initialize_catalog()
File "socialccnsim.py", line 169, in initialize_catalog
self.f = tempfile.NamedTemporaryFile(delete=True, dir='/data/tmp/')
File "/usr/lib/python2.7/tempfile.py", line 462, in NamedTemporaryFile
(fd, name) = _mkstemp_inner(dir, prefix, suffix, flags)
File "/usr/lib/python2.7/tempfile.py", line 239, in _mkstemp_inner
fd = _os.open(file, flags, 0600)
OSError: [Errno 2] No such file or directory: '/data/tmp/tmpwtYJBg'
Exception AttributeError: "'Executor' object has no attribute 'conn'" in <bound method Executor.del of <main.Executor object at 0x7f4c41d0db10>> ignored
How to get a number of hops between the cached content and the source
Hi MR Bernardini,
Its me Maizan that have contacted u through email..
I'm currently working on using your SocialCCNSIm but having some problem with changing the alpha value for content popularity ZIpf distribution..
Could u guide me on this..
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.