C# Class social_learning.DiversityAnalyzer

Datei anzeigen Open project: tansey/social-learning Class Usage Examples

Public Methods

Method Description
DiversityAnalyzer ( World world ) : System
Variance ( IEnumerable data ) : double

Calculates the sample standard deviation.

getAgentResponses ( double reading ) : double[][]
getResponseVariance ( double reading ) : double[]
getSensorReadings ( ) : double[][]

Method Details

DiversityAnalyzer() public method

public DiversityAnalyzer ( World world ) : System
world World
return System

Variance() public static method

Calculates the sample standard deviation.
public static Variance ( IEnumerable data ) : double
data IEnumerable
return double

getAgentResponses() public method

public getAgentResponses ( double reading ) : double[][]
reading double
return double[][]

getResponseVariance() public method

public getResponseVariance ( double reading ) : double[]
reading double
return double[]

getSensorReadings() public method

public getSensorReadings ( ) : double[][]
return double[][]