C# Class AIXI.Utils

Afficher le fichier Open project: GoodAI/SummerCamp

Méthodes publiques

Свойство Type Description
Rnd System.Random

Méthodes publiques

Méthode Description
BitsNeeded ( int value ) : int
Decode ( int symbolList, int bitCount ) : int
Encode ( int integerSymbol, int bitCount ) : int[]
FloatCompare ( double a, double b, double delta = 1e-5 ) : bool
Log1P ( double x ) : double
LogBase2 ( int value ) : int
MyToDouble ( string s ) : double
ProbabilisticDecision ( double limit ) : bool
RandomDouble ( double min, double max ) : double
RandomElement ( int a ) : int

Method Details

BitsNeeded() public static méthode

public static BitsNeeded ( int value ) : int
value int
Résultat int

Decode() public static méthode

public static Decode ( int symbolList, int bitCount ) : int
symbolList int
bitCount int
Résultat int

Encode() public static méthode

public static Encode ( int integerSymbol, int bitCount ) : int[]
integerSymbol int
bitCount int
Résultat int[]

FloatCompare() public static méthode

public static FloatCompare ( double a, double b, double delta = 1e-5 ) : bool
a double
b double
delta double
Résultat bool

Log1P() public static méthode

public static Log1P ( double x ) : double
x double
Résultat double

LogBase2() public static méthode

public static LogBase2 ( int value ) : int
value int
Résultat int

MyToDouble() public static méthode

public static MyToDouble ( string s ) : double
s string
Résultat double

ProbabilisticDecision() public static méthode

public static ProbabilisticDecision ( double limit ) : bool
limit double
Résultat bool

RandomDouble() public static méthode

public static RandomDouble ( double min, double max ) : double
min double
max double
Résultat double

RandomElement() public static méthode

public static RandomElement ( int a ) : int
a int
Résultat int

Property Details

Rnd public_oe static_oe property

public static Random,System Rnd
Résultat System.Random