edu.byu.ece.edif.util.jsap.commandgroups
Class MoreFrequentVotingCommandGroup

java.lang.Object
  extended by edu.byu.ece.edif.util.jsap.commandgroups.AbstractCommandGroup
      extended by edu.byu.ece.edif.util.jsap.commandgroups.MoreFrequentVotingCommandGroup
All Implemented Interfaces:
CommandGroup

public class MoreFrequentVotingCommandGroup
extends AbstractCommandGroup


Field Summary
protected  com.martiansoftware.jsap.FlaggedOption _num_partitions
           
protected  com.martiansoftware.jsap.FlaggedOption _organ_type
           
protected  com.martiansoftware.jsap.FlaggedOption _voter_location_i
           
protected  com.martiansoftware.jsap.FlaggedOption _voter_location_n
           
protected  com.martiansoftware.jsap.FlaggedOption _voter_threshold
           
static java.lang.String ORGAN_TYPE
           
static java.lang.String PARTITION_OPTION
           
static java.lang.String THRESHOLD_OPTION
           
static java.lang.String VOTER_LOC_OPTION_I
           
static java.lang.String VOTER_LOC_OPTION_N
           
 
Fields inherited from class edu.byu.ece.edif.util.jsap.commandgroups.AbstractCommandGroup
_options
 
Constructor Summary
MoreFrequentVotingCommandGroup()
           
 
Method Summary
static int getNumPartitions(com.martiansoftware.jsap.JSAPResult result, java.io.PrintStream out)
           
static java.lang.String[] getVoterInstanceLocations(com.martiansoftware.jsap.JSAPResult result)
           
static java.lang.String[] getVoterNetLocations(com.martiansoftware.jsap.JSAPResult result)
           
static int getVoterThreshold(com.martiansoftware.jsap.JSAPResult result, java.io.PrintStream out)
           
 
Methods inherited from class edu.byu.ece.edif.util.jsap.commandgroups.AbstractCommandGroup
addCommand, getCommands
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_voter_threshold

protected com.martiansoftware.jsap.FlaggedOption _voter_threshold

THRESHOLD_OPTION

public static final java.lang.String THRESHOLD_OPTION
See Also:
Constant Field Values

_num_partitions

protected com.martiansoftware.jsap.FlaggedOption _num_partitions

PARTITION_OPTION

public static final java.lang.String PARTITION_OPTION
See Also:
Constant Field Values

_voter_location_i

protected com.martiansoftware.jsap.FlaggedOption _voter_location_i

VOTER_LOC_OPTION_I

public static final java.lang.String VOTER_LOC_OPTION_I
See Also:
Constant Field Values

_voter_location_n

protected com.martiansoftware.jsap.FlaggedOption _voter_location_n

VOTER_LOC_OPTION_N

public static final java.lang.String VOTER_LOC_OPTION_N
See Also:
Constant Field Values

_organ_type

protected com.martiansoftware.jsap.FlaggedOption _organ_type

ORGAN_TYPE

public static final java.lang.String ORGAN_TYPE
See Also:
Constant Field Values
Constructor Detail

MoreFrequentVotingCommandGroup

public MoreFrequentVotingCommandGroup()
Method Detail

getVoterInstanceLocations

public static java.lang.String[] getVoterInstanceLocations(com.martiansoftware.jsap.JSAPResult result)

getVoterNetLocations

public static java.lang.String[] getVoterNetLocations(com.martiansoftware.jsap.JSAPResult result)

getVoterThreshold

public static int getVoterThreshold(com.martiansoftware.jsap.JSAPResult result,
                                    java.io.PrintStream out)

getNumPartitions

public static int getNumPartitions(com.martiansoftware.jsap.JSAPResult result,
                                   java.io.PrintStream out)