網絡傳播動力學_通過簡單的規則傳播動力

網絡傳播動力學

When a single drop of paint is dropped on a surface the amount of space that the drop will cover depends both on time and space. A short amount of time will no be enough for the drop to cover a greater area, and a small surface will bound the surface that the paint can cover. The same rules could be applied to a variety of phenomena, mixing chemicals, bacterial growth, or the spread of ideas or even the spread of infectious diseases. Although there exists a huge amount of research on the modeling of infectious diseases, the application of simple rules can offer some insights and easy interpretability on how a disease could spread.

當將一滴油漆滴在表面上時,該滴將覆蓋的空間量取決于時間和空間。 短時間不足以使液滴覆蓋更大的區域,而小的表面將束縛油漆可以覆蓋的表面。 相同的規則可以應用于多種現象,包括化學物質混合,細菌生長,思想傳播甚至傳染病傳播。 盡管存在大量關于傳染病建模的研究,但簡單規則的應用可以為疾病的傳播提供一些見識并易于解釋。

Let’s assume the following, an unknown disease is spreading through time and space in a population. Each square dot represents an individual, a black square represents an individual without the pathogen and a withe square represents an individual with the pathogen. Each frame represents a time step and each time step is equal to the time needed for an individual to spread the disease. As a novel disease, the amount of infected individuals is minimal. Each susceptible individual on the population will be affected by four surrounding neighbors. Those neighbors could be infected or uninfected. And for an individual to be infected there is a minimum of infected neighbors needed to infect the individual.

讓我們假設以下情況,一種未知的疾病正在人口中隨時間和空間傳播。 每個正方形點代表一個個體,黑色正方形代表沒有病原體的個體,而帶有正方形的方塊代表有病原體的個體。 每個幀代表一個時間步長,每個時間步長等于個體傳播疾病所需的時間。 作為一種新型疾病,受感染個體的數量很少。 人口中的每個易感個體都將受到周圍四個鄰居的影響。 那些鄰居可能被感染或未被感染。 對于一個要被感染的個體,感染該個體所需的感染鄰居最少。

By changing the number of infected neighbors needed to infect an individual a series of scenarios can be evaluated. Under the first couple of scenarios where the individual needs to be surrounded by four, three, or two infected neighbors the infection is unable to spread.

通過更改感染個人所需的被感染鄰居的數量,可以評估一系列情況。 在前兩個場景中,個人需要被四個,三個或兩個受感染的鄰居包圍,感染無法傳播。

Image for post
Image for post
Image for post

However, when only one infected individual is needed to spread the pathogen a dramatic increase in the infected population can be seen. Different clusters of infection can be observed through time and after some time those clusters start to merge.

但是,當只需要一個被感染的個體來傳播病原體時,可以看到感染人口的急劇增加。 隨著時間的流逝,可以觀察到不同的感染群,一段時間后這些群開始合并。

Image for post

Under the previous scenarios, about 0.01% of the population carries the pathogen in a secluded area. Increasing the number of infected populations to about 1% a similar pattern is observed. When the individual can be infected only when is surrounded by two three or four infected neighbors the infection is unable to spread. However, in some cases, the infection does not disappear but stays in small clusters of infected populations.

在以前的情況下,約有0.01%的人口將病原體攜帶在一個僻靜的地區。 將感染種群的數量增加到大約1%,可以觀察到類似的模式。 只有在被兩個三個或四個感染鄰居包圍的情況下,個體才能被感染,這種感染無法傳播。 但是,在某些情況下,感染并不會消失,而是停留在感染人群的小群中。

Image for post
Image for post
Image for post

When only one neighbor is needed to infect an individual, the infection spreads dramatically. And almost instantaneously the pathogen can infect the entire population.

當只需要一個鄰居來感染一個人時,感染就會Swift蔓延。 而且,病原體幾乎可以瞬間感染整個人群。

Image for post

To this point, it appears that the only scenario where the infection spreads through the population is when the pathogen can infect an individual when only one infected neighbor is needed to propagate the disease. And how rapidly the infection spread is proportional to the initial number of the infected population. Let’s see if that last assumption holds, now an evenly spaced number of infected individuals will be placed over the grid and evaluate the spread of the pathogen.

在這一點上,似乎感染在人群中蔓延的唯一情況是當只需要一個被感染的鄰居來傳播疾病時,病原體就可以感染一個人。 感染傳播的速度與感染人口的初始數量成正比。 讓我們看看最后一個假設是否成立,現在將等間隔分布的受感染個體放在網格上并評估病原體的傳播。

Image for post
Image for post

Under those constraints, it appears that an evenly spaced grid is not able to infect the entire population but reach an equilibrium. Looks like the randomness involved in how the individuals carry the pathogen helps its spread.

在這些約束下,似乎間隔均勻的網格無法感染整個種群,但可以達到平衡。 看起來個體攜帶病原體的方式所涉及的隨機性有助于其傳播。

Previous simulations exemplify how a pathogen can propagate through space and time. However, with an outbreak of a new disease, a common governmental intervention taken through an outbreak of an unknown disease is the restriction of social mobility, closing economic activities, restricting travel, and putting the population under quarantine. Social distancing is enforced as a measure to return to economic and social activities. Let’s enforce social distancing by adding a grid where there are no individuals available to propagate the disease.

先前的模擬例證了病原體如何在時空中傳播。 但是,隨著新疾病的爆發,通過未知疾病的爆發而采取的一項政府共同干預措施是限制社會流動性,結束經濟活動,限制出行并將人口隔離。 強制執行社會疏離措施,以恢復經濟和社會活動。 讓我們通過在沒有個人可以傳播疾病的地方添加一個網格來加強社會疏遠。

Image for post
Gray lines represents a physical barrier orempty space.
灰線表示物理屏障空白空間。

By applying those constrains a series of isolated clusters of infected individuals can be seen under every simulation configuration. Those results can show some resemblance to what can be happening at restaurants, cinemas, or some other establishments with large gatherings of people. If some of the people attending those establishments have the pathogen, the pathogen will be unable to spread trough its neighbors by simply applying social distancing. Diminishing the number of people that can be close together depletes the pathogen capacity to spread.

通過應用這些約束,可以在每種模擬配置下看到一系列隔離的感染個體簇。 這些結果可能與在餐館,電影院或其他人群聚集的其他場所可能發生的情況相似。 如果在這些機構中的某些人患有病原體,則僅通過社會隔離即可使病原體無法通過鄰居傳播。 減少可以靠近的人的數量會耗盡病原體的傳播能力。

Image for post
Image for post

The previous simulations are based on the two-dimensional cellular automata. With four neighbors and one individual in the middle, also known as the five neighbors two-dimensional automata. One of the most famous examples of two-dimensional automata is the one proposed by John Horton Conway also known as the game of life. The complete code to perform the previous simulations can be found in my GitHub by clicking here. See you in the next one.

先前的模擬基于二維細胞自動機。 在中間有四個鄰居和一個人,也稱為五個鄰居二維自動機。 二維自動機最著名的例子之一就是約翰·霍頓·康威(John Horton Conway)提出的例子,也被稱為生活游戲。 單擊此處,可以在我的GitHub中找到執行先前模擬的完整代碼。 下一個見。

翻譯自: https://medium.com/@octaviogl69/spread-dynamics-by-simple-rules-c3ad74c4c728

網絡傳播動力學

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/388058.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/388058.shtml
英文地址,請注明出處:http://en.pswp.cn/news/388058.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

【左偏樹】【P3261】 [JLOI2015]城池攻占

Description 小銘銘最近獲得了一副新的桌游&#xff0c;游戲中需要用 m 個騎士攻占 n 個城池。這 n 個城池用 1 到 n 的整數表示。除 1 號城池外&#xff0c;城池 i 會受到另一座城池 fi 的管轄&#xff0c;其中 fi <i。也就是說&#xff0c;所有城池構成了一棵有根樹。這 m…

【原創】數據庫中為什么不推薦使用外鍵約束

引言 其實這個話題是老生常談&#xff0c;很多人在工作中確實也不會使用外鍵。包括在阿里的JAVA規范中也有下面這一條 【強制】不得使用外鍵與級聯&#xff0c;一切外鍵概念必須在應用層解決。 但是呢&#xff0c;詢問他們原因&#xff0c;大多是這么回答的 每次做DELETE 或者…

初識Activiti

http://wenku.baidu.com/view/bb7364ad4693daef5ff73d32.html 1. 初識Activiti 1.1. 工作流與工作流引擎 工作流&#xff08;workflow&#xff09;就是工作流程的計算模型&#xff0c;即將工作流程中的工作如何前后組織在一起的邏輯和規則在計算機中以恰當的模型進行表示并對其…

開源軟件 安全風險_3開源安全風險及其解決方法

開源軟件 安全風險Open source software is very popular and makes up a significant portion of business applications. According to Synopsys, 99% of commercial databases contain at least one open source component, and nearly 75% of these codebases contain open…

React-Router 源碼分析1

1、單頁面應用的路由基本原理 demo1 router1.html 復制代碼以 hash 形式為例。 1、init 監聽瀏覽器 url hash 更新事件。 2、route 存儲路由更新時的回調到回調數組routes中&#xff0c;回調函數將負責對頁面的更新。 3、refresh 執行當前url對應的回調函數&#xff0c;更新頁面…

linux安裝日志切割程序

linux安裝日志切割程序 安裝 gcc&#xff08;1&#xff09; yum insatll gcc &#xff08;2&#xff09;# cd cronolog-1.6.2 4、運行安裝 # ./configure# make# make install 5、查看cronolog安裝后所在目錄&#xff08;驗證安裝是否成功&#xff09; # which cronolog 一般情…

自助分析_為什么自助服務分析真的不是一回事

自助分析That title probably got your attention and now you think I have some explaining to do! The key word in the title is the word “A”. Self-service analytics isn’t a thing if “a thing” means a single, distinct corporate initiative or set of require…

BPMN2.0-概要

BPMN2.0-概要 作者&#xff1a;AliKevin2011&#xff0c;發布于2012-6-27 一、BPMN簡介 BPMN&#xff08;Business Process Model And Notation&#xff09;- 業務流程模型和符號 是有BPMI&#xff08;Business Process Management Initiative&#xff09;開發的一套變準的業務…

如何用Phaser實現一個全家福拼圖H5

一、Phaser介紹 二、整體框架搭建 三、資源加載 四、游戲邏輯五、完成六、總結參考文檔 最近用Phaser做了一個全家福拼圖h5的項目&#xff0c;這篇文章將會從零開始講解如何用Phaser實現&#xff0c;最終效果如下&#xff1a; 源碼&#xff1a;https://github.com/ZENGzoe/phas…

angularjs 默認跳轉

angularjs 的 $state.go() 跳轉頁面 &#xff0c;目標頁面的js函數 的執行 先于 $locationChangeStart 的監聽函數。 故意 添加 timeout 可以使 controller 在locationchangestart 之后觸發。轉載于:https://www.cnblogs.com/RoadAspenBK/p/9923332.html

錯誤錄入 算法_如何使用驗證錯誤率確定算法輸出之間的關系

錯誤錄入 算法Monument (www.monument.ai) enables you to quickly apply algorithms to data in a no-code interface. But, after you drag the algorithms onto data to generate predictions, you need to decide which algorithm or combination of algorithms is most re…

Activiti 簡易教程

一搭建環境 1.1 JDK 6 activiti 運行在版本 6以上的 JDK上。轉到 Oracle Java SE下載頁面&#xff0c;點擊按鈕“下載 JDK”。網頁中也有安裝說明。要核實安裝是否成功&#xff0c;在命令行上運行 java–version。將打印出安裝的 JDK的版本。 1.2 Ant 1.8.1 從 Ant[http://…

xargs命令詳解,xargs與管道的區別

在工作中經常會接觸到xargs命令&#xff0c;特別是在別人寫的腳本里面也經常會遇到&#xff0c;但是卻很容易與管道搞混淆&#xff0c;本篇會詳細講解到底什么是xargs命令&#xff0c;為什么要用xargs命令以及與管道的區別。為什么要用xargs呢&#xff0c;我們知道&#xff0c;…

pytorch回歸_PyTorch:用嶺回歸檢查泰坦尼克號下沉

pytorch回歸In this notebook, we shall use this dataset containing data about passengers from the Titanic. Based on this data, we will use a Ridge Regression model which just means a Logistic Regression model that uses L2 Regularization for predicting wheth…

Java后臺與VUE跨域交接

后臺代碼&#xff1a;package com.cn.Mr.Zhong.filter;import org.springframework.stereotype.Component;import javax.servlet.*;import javax.servlet.http.HttpServletRequest;import javax.servlet.http.HttpServletResponse;import javax.servlet.http.HttpSession;impor…

koa2 中使用 svg-captcha 生成驗證碼

1. 安裝svg-captcha $ npm install --save svg-captcha 2. 使用方法 生成有4個字符的圖片和字符串const svgCaptcha require(svg-captcha)const cap svgCaptcha.create({size: 4, // 驗證碼長度width:160,height:60,fontSize: 50,ignoreChars: 0oO1ilI, // 驗證碼字符中排除 …

Weblogic 節點啟動

1.啟動管理理節點export JAVA_OPTIONS"$JAVA_OPTIONS -Dcom.sun.xml.namespace.QName.useCompatibleSerialVersionUID1.0 -Djava.security.egdfile:/dev/./urandom"nohup ./startWebLogic.sh >admin.log &tail -f admin.log2.啟動節點ssonohup ./startManaged…

[Swift]LeetCode74. 搜索二維矩陣 | Search a 2D Matrix

★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★?微信公眾號&#xff1a;山青詠芝&#xff08;shanqingyongzhi&#xff09;?博客園地址&#xff1a;山青詠芝&#xff08;https://www.cnblogs.com/strengthen/&#xff09;?GitHub地址&a…

iris數據集 測試集_IRIS數據集的探索性數據分析

iris數據集 測試集Let’s explore one of the simplest datasets, The IRIS Dataset which basically is a data about three species of a Flower type in form of its sepal length, sepal width, petal length, and petal width. The data set consists of 50 samples from …

Oracle 12c 安裝 Linuxx86_64

1)下載Oracle Database 12cRelease 1安裝介質 官方的下載地址&#xff1a; 1&#xff1a;http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html 2&#xff1a;https://edelivery.oracle.com/EPD/Download/get_form?egroup_aru_number16496…