⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 simple.sc

📁 基于chord算法的p2p文件系统。A p2p file system based on chord.
💻 SC
字号:
# Usage example:# >../traffic_gen simple.sc 11 >! simple.ev# >../sim simple.ev 10## create a network consisting of three nodes# a new node joins the system each 1 sec on the averageevents 3 1000 1 0 0 0 0# wait 10 sec for the network to stabilizewait 10000# insert 5 documents in the networkevents 5 1000 0 0 0 1 0# generate a total of 10 events; each event is a document insertion# with probability 0.5 and a document lookup with probability 0.5 events 10 1000 0 0 0 10 10# wait 1 sec to complete all operations wait 1000# end the simulationexit

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -