C# 클래스 Brunet.Simulator.Utils

파일 보기 프로젝트 열기: pstjuste/brunet

공개 메소드들

메소드 설명
Average ( List data ) : double

Calculates the average of a data set.

GeometricDistance ( int>.Pair p0, int>.Pair p1 ) : int

Calculates the geometric distance for a "connected" plane.

RandomLatencyMap ( int size ) : List>

Generates a latency map using a 2-dimensional space.

ReadLatencyDataSet ( string filename, int size ) : List>

Reads a space separated value file as latency data set.

StandardDeviation ( List data, double avg ) : double

Calculates the standard deviation given a data set and the average.

메소드 상세

Average() 정적인 공개 메소드

Calculates the average of a data set.
static public Average ( List data ) : double
data List
리턴 double

GeometricDistance() 정적인 공개 메소드

Calculates the geometric distance for a "connected" plane.
static public GeometricDistance ( int>.Pair p0, int>.Pair p1 ) : int
p0 int>.Pair
p1 int>.Pair
리턴 int

RandomLatencyMap() 정적인 공개 메소드

Generates a latency map using a 2-dimensional space.
static public RandomLatencyMap ( int size ) : List>
size int
리턴 List>

ReadLatencyDataSet() 정적인 공개 메소드

Reads a space separated value file as latency data set.
static public ReadLatencyDataSet ( string filename, int size ) : List>
filename string
size int
리턴 List>

StandardDeviation() 정적인 공개 메소드

Calculates the standard deviation given a data set and the average.
static public StandardDeviation ( List data, double avg ) : double
data List
avg double
리턴 double