Method | Description | |
---|---|---|
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 | |
return | void |
public static GenRandomAlphaNumeric ( int minLen = 6, int plusRandomLen = 2 ) : string | ||
minLen | int | |
plusRandomLen | int | |
return | string |
public static GenRandomElectionName ( string prefix = "Election" ) : string | ||
prefix | string | |
return | string |
public static GenRandomVoteVector ( int vectorSize ) : int[] | ||
vectorSize | int | |
return | int[] |
public static GenRandomVoteVectors ( int vectorSize, int votersCount ) : IEnumerable |
||
vectorSize | int | |
votersCount | int | |
return | IEnumerable |
public static GenVoteVector ( int count, int winner ) : int[] | ||
count | int | |
winner | int | |
return | int[] |
public static SumVoteVectors ( List |
||
votes | List |
|
return | int[] |