Метод | Описание | |
---|---|---|
AddVoteVector ( this first, int second ) : void | ||
FindWinner ( int votes ) : int | ||
GenRandomAlphaNumeric ( int minLen = 6, int plusRandomLen = 2 ) : string | ||
GenRandomElectionName ( string prefix = "Election" ) : string | ||
GenRandomVoteVector ( int vectorSize ) : int[] | ||
GenRandomVoteVectors ( int vectorSize, int votersCount ) : IEnumerable |
||
GenVoteVector ( int count, int winner ) : int[] | ||
SumVoteVectors ( List |
public static AddVoteVector ( this first, int second ) : void | ||
first | this | |
second | int | |
Результат | void |
public static FindWinner ( int votes ) : int | ||
votes | int | |
Результат | int |
public static GenRandomAlphaNumeric ( int minLen = 6, int plusRandomLen = 2 ) : string | ||
minLen | int | |
plusRandomLen | int | |
Результат | string |
public static GenRandomElectionName ( string prefix = "Election" ) : string | ||
prefix | string | |
Результат | string |
public static GenRandomVoteVector ( int vectorSize ) : int[] | ||
vectorSize | int | |
Результат | int[] |
public static GenRandomVoteVectors ( int vectorSize, int votersCount ) : IEnumerable |
||
vectorSize | int | |
votersCount | int | |
Результат | IEnumerable |
public static GenVoteVector ( int count, int winner ) : int[] | ||
count | int | |
winner | int | |
Результат | int[] |
public static SumVoteVectors ( List |
||
votes | List |
|
Результат | int[] |