Skip to content

Instantly share code, notes, and snippets.

@PastaPastaPasta
Created August 8, 2018 15:19
Show Gist options
  • Save PastaPastaPasta/8ed15b20571e180c7696781597ea503d to your computer and use it in GitHub Desktop.
Save PastaPastaPasta/8ed15b20571e180c7696781597ea503d to your computer and use it in GitHub Desktop.
In Psuedocode
double gaus = 1 - Math.abs(new gaussian) // 0 : 1
int goal = 8 //The PS round count goal/user set count
int low = 0 //The lowest round count in the set of inputs
int high = 0 //The highest round count in the set of inputs
int current = 0 //The round count of the current input in the loop, going from high to low
if(low - high == 0) mix(currentVin);
else if (((current + 1) * (current + 1)) / (high*high) > gaus) mix(currentVin);
-------------------------------------------------------------------------------------------
double gaus = Math.abs(new gaussian); // 0 : 1
int goal = 8; //The PS round count goal/user set count
int low = 0; //The lowest round count in the set of inputs
int high = 0; //The highest round count in the set of inputs
for(int i : Vins)
current = Vins.get(i).getRealRoundCount;
if(current >= goal) continue;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment