Giter Site home page Giter Site logo

socialccnsim's People

Contributors

mesarpe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

socialccnsim's Issues

problem when running trace

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

Did anybody encounter a problem when running the example trace?

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

Changing Popularity Content Alpha Value

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.