public static double mostToxicRow(Gate g){
  return Collections.min(g.get_toxicity());
}

public static double mostToxicRow ( Gate g ) { return Collections . min ( g . get_toxicity ( ) ) ; }
a gate toxicity score = = worst toxicity score among all rows of the truth table
