MaxProp:Routing for Vehicle-Based Disruption-Tolerant Networks

Author:John Burgess Brian Gallagher David Jensen Brian Neil LevinePublication:InfoComYear::2006Abstract::MaxProp is based on prioritizing both the schedule of packets transmitted to other peers and the schedule of packets to be dropped.These

The Levy Flight

Original URL:http://sethgodin.typepad.com/seths_blog/2010/04/the-levy-flight.html Clay Shirky taught me this very cool mathematical concept that shows up in nature, and now in marketing and social media. An animal that forages will hang out in a

Link Prediction in Social Networks.

The basic approach for predicting links is to rank all node pairs based on proximities in their graph.Let denote the set of neighbors of in a social network.Common neighbors [1]:Adamic and Adar [2] refine the common neighbors by taking rarer

PROPHET路由演算法基本思想

PROPHET通過節點間的曆史相遇資訊來估計傳輸機率。它使用一個稱為傳輸預測值Pa,b的參數作為路由度量,表示將訊息從節點a傳輸到上的節點b的傳輸機率。假設節點a要將訊息m傳輸到目的節點d,若節點a與節點b相遇,僅當Pb,d≥Pa,d時,a才將訊息轉寄給節點b。Pa,b的計算包括三個部分。當兩個節點相遇時,彼此都更新各自的傳輸預測值:P(a,b) = P(a,b)old + (1-P(a,b)old) x

JScript中的註冊表操作

JScript中WScipt.Shell對象有三個關於註冊表操作的函數,即RegRead,RegWrite和RegDelete.(以下內容摘自MSDN,另外我加上了一些樣本和注釋)1,RegRead Returns the value of a key or value-name from the registry. object.RegRead(strName) Arguments object

編程珠璣讀書筆記之磁碟檔案排序

輸入:所輸入的是一個檔案,至多包含n個正整數,每個正整數都要小於n,這是 n = 10^7。如果輸入時某個整數出現了兩次,就會產生一個致命的錯誤。這些整數與其他任何資料都不關聯。輸出:以增序形式輸出的經過排序的整數列表。基本思想:使用一個具有一千萬位的字串表示該檔案,在該字串中,若且唯若整數i在該檔案中時,第i個位才開啟(設為1)。解決該問題的過程可以分為三個自然階段。第一個階段關閉所有的位,將集合初始化為空白集。第二個階段讀取檔案中的每個整數,並開啟相應的位,建立該集合。第三個階段檢查每個位,

Servlet中文參數傳遞之亂碼問題

   jsp和servlet裡的中文參數一直是一個相當惱人的問題.這裡給出幾種情況下的應付方法,以作參考:1,訪問類型:POST   Servlet doPost中擷取中文參數Code highlighting produced by Actipro CodeHighlighter

Custody transfer for Reliable Delivery in DTN

Authors:Kevin Fall, Wei Hong, Samuel MaddenYear:2003 What is custody transfer?—Accepting a message with custody transfer amounts to promising not to delete it until it can be reliably delivered to another node providing custody(or to the message’s

Re-Contact Prediction

        在 Mathias 之 Price:Hybrid geographic and contact-based forwarding in delay-tolerant networks一文中提到了Re-Contact的預測問題。在此作下筆記並稍作總結。        總體上,他們的預測基於一個叫Agenda的概念,並對地理位置及聯絡分別進行預測(An agenda of contacts & an agenda of locations)。       

找到了幾個Bug

     今天沒有去實驗室.在宿舍找bug.     

Statement batch update

To perform a Statement batch update, you must turn off auto-commit. In Java(TM) Database Connectivity (JDBC), auto-commit is on by default. Auto-commit means any updates to the database are committed after each SQL statement is processed. If you

實現局部遮罩與關閉

View Code 1 //實現局部遮罩 2 <script type="text/javascript"> 3 function Shade(){ 4 var s = document.getElementById("shade"); 5 s.style.display = "block"; 6 } 7 function Display(){ 8 var d =

實現checkbox的全選和取消

View Code 1 //實現checkbox的全選和取消 2 <script type="text/javascript"> 3 function all(all){ 4 var checkbox = document.getElementsByName("select"); 5 if (all.checked){ 6 for (i = 0;i<checkbox.length ;i++ ) 7

WinForms控制項編程技巧

1,輸入對話方塊: 原文:http://blog.csdn.net/yanleigis/archive/2007/10/10/1818268.aspx   CodeCode highlighting produced by Actipro CodeHighlighter

Delay Tolerant Network related projects

偏遠鄉村網路Wizzy Digital CourierThe Wizzy Digital Courier service provides asynchronous Internet access to schools in remote villages of South Africa. In this system, a courier on a motorbike, equipped with a USB storage device, travels from a village

為類擴充方法擷取該類的所有屬性值

View Code 1 using System; 2 public class GetValue 3 { 4 /*為People擴充一個方法ToValue 5 要求為:能把People裡面所有屬性的值列印出來*/ 6 public static void Main() 7 { 8 People people = new People(); 9 people.Get("康熙",300);10 }11 }12 public

簡單的Linq查詢

View Code 1 //問題:1,查詢出str中以@符號開頭的 2 //2,查詢出Str中元素長度大於5的元素 3 using System; 4 using System.Linq; 5 public class StudyLinq 6 { 7 public static void Main() 8 { 9 string[] str = {"abcd","apple","@symjie","banana","orange"};10 var

ONE的輸出統計

ONE的輸出統計,參見郵件清單的這封郵件:Hi,The best way to find answers to these kinds of questions is to look at thecode.On 3.5.2011 21.43, "Denis Silva"  wrote:>created: 1461 -  This is the total messages generated?Yes.>started: 58338 - This is the total number

多線程實現Copy

1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Data; 5 using System.Drawing; 6 using System.Linq; 7 using System.Text; 8 using System.Windows.Forms; 9 using System.IO;10 using System.Threading;11

用按鈕控制iframe顯示的網頁

View Code 1 //有兩個按鈕分別響應兩個事件,用來控制iframe顯示的網頁。 2 <script type="text/javascript"> 3 function bd(){ 4 var baidu = document.getElementById("i"); 5 baidu.src = "http://www.baidu.com"; 6 } 7 function xl(){ 8 var

總頁數: 61357 1 .... 26995 26996 26997 26998 26999 .... 61357 Go to: 前往

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.