Uses of Class
edu.wisc.game.util.IllegalInputException
-
Packages that use IllegalInputException Package Description edu.wisc.game.engine Top-level Game Server codeedu.wisc.game.rest The RESTful web APIedu.wisc.game.saved edu.wisc.game.sql Persistent data structuresedu.wisc.game.tools edu.wisc.game.util Auxiliary classes -
-
Uses of IllegalInputException in edu.wisc.game.engine
Methods in edu.wisc.game.engine that throw IllegalInputException Modifier and Type Method Description static GameGenerator
Captive. buildGameGenerator(ParseConfig ht, String[] argv)
Creates a GameGenerator based on the parameters found in the command linestatic void
AutomaticRuleGenerator. main(String[] argv)
static void
Captive. main(String[] argv)
A complete CGS session. -
Uses of IllegalInputException in edu.wisc.game.rest
Methods in edu.wisc.game.rest that throw IllegalInputException Modifier and Type Method Description void
ParaSet. checkIncentive()
Checks whether the parameters related to incentive schemes are consistent (that is, you don't have a parameter from one scheme and another parameter from a different scheme).static PlayerInfo
PlayerResponse. findPlayerInfo(javax.persistence.EntityManager em, String pid)
Find the matching record for a player, in the cache of the database.static ParaSet
ParaSet. textToParaSet(String s)
Processes ParaSet data that have been already read into string.Constructors in edu.wisc.game.rest that throw IllegalInputException Constructor Description ParaSet(File f)
TrialList(String exp, String trialListId)
Reads a trial list from the file that corresponds to a given experiment plan and the specified trial list id within that experiment. -
Uses of IllegalInputException in edu.wisc.game.saved
Methods in edu.wisc.game.saved that throw IllegalInputException Modifier and Type Method Description static HashMap<String,EpisodeHandle>
TranscriptManager. findRuleSetNames(String exp, AnalyzeTranscripts.TrialListMap trialListMap, File detailedTranscriptsFile)
This method is used as a helper in a unit test for ReplayedEpisode; its purpose is to find rule set names for various episodes without accessing the SQL server.static HashMap<String,Board>
BoardManager. readBoardFile(File f, HashMap<String,Boolean> useImagesTable)
Reads a CSV file into which a number of boards have been written by Board.saveToFile().Constructors in edu.wisc.game.saved that throw IllegalInputException Constructor Description ReadTranscriptData(File csvFile)
Reads in the entire content of a transcript file for a player. -
Uses of IllegalInputException in edu.wisc.game.sql
Methods in edu.wisc.game.sql that throw IllegalInputException Modifier and Type Method Description static GameGenerator
RandomGameGenerator. buildFromArgv(RandomRG _random, File f, ParseConfig ht, String[] argv, int ja)
Builds a RandomGameGenerator from command-line arguments.void
PlayerInfo. initSeries(TrialList trialList)
This is usesd when a player is first registered and a PlayerInfo object is first created.static void
RandomGameGenerator. main(String[] argv)
Creates a bunch of random boards, from which one can later select those matching some additional criteria, and use them in an experiment plan with predefined boards.static void
ReplayedEpisode. main(String[] argv)
A unit test, which can be run without relying on SQL, just with files in the transcript and board directories.static GameGenerator
GameGenerator. mkGameGenerator(RandomRG _random, ParaSet para)
Creates a GameGenerator based on a parameter set.void
PlayerInfo. restoreTransientFields()
This method should be called after restoring the object from the SQL database, in order to re-create some of the necessary non-persistent structures.void
GameGenerator. setConditionsFromHT(ParseConfig ht)
Sets the constraints if they are specified in the command-line optionsvoid
GameGenerator. setConditionsFromParaSet(ParaSet para)
Sets the constraints if they are specified in the parameter set -
Uses of IllegalInputException in edu.wisc.game.tools
Methods in edu.wisc.game.tools that throw IllegalInputException Modifier and Type Method Description protected void
AnalyzeTranscripts. analyzePlayerRecord(String playerId, Vector<EpisodeHandle> v)
Reads one player's transcript, and prepares a complete report for that player.protected AnalyzeTranscripts.P0andR
AnalyzeTranscripts. computeP0andR(Vector<TranscriptManager.ReadTranscriptData.Entry[]> subsections, ParaSet para, String ruleSetName, Vector<Board> boardHistory)
Reconstructs and replays the historical episode, computing p0 for every pick or move attempt.static void
MwSeries. readFromFile(File f, Vector<MwSeries> into)
Reads a CSV file with MwSeries entries.protected void
AnalyzeTranscripts. saveAnyData(Vector<TranscriptManager.ReadTranscriptData.Entry[]> section, Vector<EpisodeHandle> includedEpisodes)
Saves the data for a single (player, ruleSet) pair.protected void
MwByHuman. saveAnyData(Vector<TranscriptManager.ReadTranscriptData.Entry[]> section, Vector<EpisodeHandle> includedEpisodes)
Saves the data (the summary of a series) for a single (player, ruleSet) pair.Constructors in edu.wisc.game.tools that throw IllegalInputException Constructor Description TrialListMap(String exp)
-
Uses of IllegalInputException in edu.wisc.game.util
Methods in edu.wisc.game.util that throw IllegalInputException Modifier and Type Method Description protected CsvData.LineEntry
CsvData. mkEntry(String[] csv, int colCnt)
Child classes would override this, typically with a wrapper around the constructor for an object that represents the content of a single lineString
CsvData. mkNewHeader(String extras)
Creates a new header line by appending some extra columns to the stored header line of this file.static String[]
ImportCSV. splitCSV(String s)
Converts a single string (such as a line of CSV file) into an array of strings.static String[]
ImportCSV. splitCSVTrim(String s)
Constructors in edu.wisc.game.util that throw IllegalInputException Constructor Description CsvData(File csvFile)
CsvData(File csvFile, boolean noHeader, boolean keepComments, int[] legalLengths)
Creates a CsvData object from the content of a CSV file.CsvData(File csvFile, Reader r, boolean noHeader, boolean keepComments, int[] legalLengths)
-