C# 클래스 TemporalNetworks.RandomWalk

A class that can be used to study random walk dynamics in temporal networks
파일 보기 프로젝트 열기: IngoScholtes/TemporalNetworks 1 사용 예제들

공개 메소드들

메소드 설명
GetLastVisit ( string node ) : int
GetMaxVisitationProb ( ) : double
GetMinVisitationProb ( ) : double
GetVisitationProb ( string node ) : double
RandomWalk ( TemporalNetwork network, RandomWalkMode walkmode ) : System

Creates an instance of a random walk process

Step ( ) : void

Performs one transition of the random walk process.

비공개 메소드들

메소드 설명
ComputeStationaryDist ( ) : double>.Dictionary

Computes the expected stationary distribution of a random walk in the weighted aggregate network NOTE: At present, this implementation only works correctly if the network is undirected!

InitializeCumulatives ( ) : void

Initializes all vectors that will be used for sampling transition probabilities in first and second-order network

StringToTuple ( string edge ) : string>.Tuple

Convert an edge in string format to tuple format

TupleToString ( string>.Tuple edge ) : string

Convert an edge in tuple format to string format

메소드 상세

GetLastVisit() 공개 메소드

public GetLastVisit ( string node ) : int
node string
리턴 int

GetMaxVisitationProb() 공개 메소드

public GetMaxVisitationProb ( ) : double
리턴 double

GetMinVisitationProb() 공개 메소드

public GetMinVisitationProb ( ) : double
리턴 double

GetVisitationProb() 공개 메소드

public GetVisitationProb ( string node ) : double
node string
리턴 double

RandomWalk() 공개 메소드

Creates an instance of a random walk process
public RandomWalk ( TemporalNetwork network, RandomWalkMode walkmode ) : System
network TemporalNetwork
walkmode RandomWalkMode
리턴 System

Step() 공개 메소드

Performs one transition of the random walk process.
public Step ( ) : void
리턴 void