print "no defeats within the Schwartz set\n";
print "final schwartz set:\n\n";
+my $winxlabel;
if ($schwartz->vertices() == 1) {
print "WINNER IS:\n";
+ $winxlabel = "winner";
} else {
print "WINNER IS ONE OF (CASTING VOTE DECIDES):\n";
+ $winxlabel = "potential winner";
}
printf " %-5s %s\n", $_, $choices{$_}{Desc}
if ($cho->{Dropped}) {
$label .= "\nDropped: $cho->{Dropped}";
}
+ if ($schwartz->has_vertex($chn)) {
+ $label .= "\n$winxlabel";
+ }
$showg->set_vertex_attribute($chn, 'label', $label);
}