C# Class Dynamic_Games.Rules

显示文件 Open project: Ezakhiel/Donate-Money-For-Unicorns-ubbse2015 Class Usage Examples

Public Methods

Method Description
MultFactGrows ( int N, float multFact, int ruleParam, int coopPerc ) : float
NeighborsAndSelflesness ( int N, int c, float pd, int checkMatrix, int colors, int ruleParam, int selflessness, float investmentArr, float moneyArr ) : int[]
NeighborsDecide ( int N, int checkMatrix, int colors, int ruleParam ) : int[]
SelflesnessMultFactGrows ( int N, float pd, int c, float moneyArr, float investmentArr, int selflessness, int colors ) : int[]

Method Details

MultFactGrows() public method

public MultFactGrows ( int N, float multFact, int ruleParam, int coopPerc ) : float
N int
multFact float
ruleParam int
coopPerc int
return float

NeighborsAndSelflesness() public method

public NeighborsAndSelflesness ( int N, int c, float pd, int checkMatrix, int colors, int ruleParam, int selflessness, float investmentArr, float moneyArr ) : int[]
N int
c int
pd float
checkMatrix int
colors int
ruleParam int
selflessness int
investmentArr float
moneyArr float
return int[]

NeighborsDecide() public method

public NeighborsDecide ( int N, int checkMatrix, int colors, int ruleParam ) : int[]
N int
checkMatrix int
colors int
ruleParam int
return int[]

SelflesnessMultFactGrows() public method

public SelflesnessMultFactGrows ( int N, float pd, int c, float moneyArr, float investmentArr, int selflessness, int colors ) : int[]
N int
pd float
c int
moneyArr float
investmentArr float
selflessness int
colors int
return int[]