A B C D E F G H I J K L M N O P R S T U V W X Y
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- a(String, String) - Method in class edu.wisc.game.formatter.Fmter
- a(String, String, String) - Method in class edu.wisc.game.formatter.Fmter
- a(String, String, String) - Method in class edu.wisc.game.formatter.HTMLFmter
- a0 - Variable in class edu.wisc.game.parser.Expression.RangeExpression
- a1 - Variable in class edu.wisc.game.parser.Expression.RangeExpression
- ACCEPT - Static variable in class edu.wisc.game.sql.Episode.CODE
- acceptsColorShapeAndProperties(Piece) - Method in class edu.wisc.game.engine.RuleSet.Atom
-
Does this atom accept a specified piece, based on its shape and color?
- ACTIVATE - edu.wisc.game.sql.PlayerInfo.Action
-
Activate bonus
- activateBonus(String) - Method in class edu.wisc.game.rest.GameService2
- activateBonus(EntityManager) - Method in class edu.wisc.game.sql.PlayerInfo
-
Switches this player from the main subseries to the bonus subseries, and saves the information about this fact in the SQL server.
- ActivateBonusWrapper - Class in edu.wisc.game.rest
- ADD_OP - edu.wisc.game.parser.Token.Type
- addEpisode(EpisodeInfo) - Method in class edu.wisc.game.sql.PlayerInfo
- addEpisode(TestChild) - Method in class edu.wisc.game.sql.Test
- addPiece(Piece) - Method in class edu.wisc.game.sql.Board
- admin - edu.wisc.game.sql.Role.Name
- advance(int) - Method in class edu.wisc.game.sql.GameGenerator
-
Advances the counter.
- allowsPicking(int, HashMap<String, BitSet>) - Method in class edu.wisc.game.engine.RuleSet.PositionList
-
Does this position list presently allow picking a piece from the specified position?
- AllRuleSets - Class in edu.wisc.game.engine
-
Stores rule sets, and allows lookup by name.
- AllRuleSets() - Constructor for class edu.wisc.game.engine.AllRuleSets
- alreadyFinished() - Method in class edu.wisc.game.sql.PlayerInfo
-
Returns true if the current series number is set beyond the possible range, which indicates that it has gone through the last possible increment (and, therefore, the completion code has been set as well).
- alt() - Method in annotation type edu.wisc.game.reflect.Display
-
If not null and not empty, this text will be displayed instead of the field's name in entry tables etc.
- anySet(boolean[]) - Static method in class edu.wisc.game.util.Util
- arex - Variable in class edu.wisc.game.parser.Expression.ColonExpression
- ArithmeticResult - Class in edu.wisc.game.web
-
A tool for an easy online testing of arithmetic expression evaluation.
- ArithmeticResult(HttpServletRequest, HttpServletResponse) - Constructor for class edu.wisc.game.web.ArithmeticResult
- array2map(String[]) - Static method in class edu.wisc.game.util.Util
-
Converts an array into a hash map.
- array2set(String...) - Static method in class edu.wisc.game.util.Util
-
Can also take String[] a
- array2vector(T...) - Static method in class edu.wisc.game.util.Util
- Arrows - Class in edu.wisc.game.svg
- Arrows() - Constructor for class edu.wisc.game.svg.Arrows
- asId() - Method in class edu.wisc.game.parser.Token
- assignTrialList(String) - Static method in class edu.wisc.game.sql.PlayerInfo
- asStringVector(Object, String) - Static method in class edu.wisc.game.reflect.Reflect
- asStringVector(Object, String, boolean) - Static method in class edu.wisc.game.reflect.Reflect
- ATTEMPT_CNT_MISMATCH - Static variable in class edu.wisc.game.sql.Episode.CODE
B
- B - edu.wisc.game.engine.Order.PositionSelector
- BLACK - Static variable in class edu.wisc.game.sql.Piece.Color
- BLUE - Static variable in class edu.wisc.game.sql.Piece.Color
- Board - Class in edu.wisc.game.sql
- Board() - Constructor for class edu.wisc.game.sql.Board
-
Creates an empty board
- Board(int) - Constructor for class edu.wisc.game.sql.Board
-
The simple constructor, creates a random board with a given number of pieces, using the 4 legacy colors.
- Board(int, int, int, Piece.Shape[], Piece.Color[]) - Constructor for class edu.wisc.game.sql.Board
-
The main constructor for a random initial board in GS 2.*.
- Board(int, String[]) - Constructor for class edu.wisc.game.sql.Board
-
The main constructor for a random image-and-property-based initial board in GS 3.*.
- Board(Piece[], Piece[], BitSet[]) - Constructor for class edu.wisc.game.sql.Board
-
Creates a board object to be sent out (as JSON) to the player's client, based on the current state of the episode.
- Board.Pos - Class in edu.wisc.game.sql
-
Can be used to describe the position of a piece on the [1:N]x[1:N] grid, or that of a bucket (at (0,0), ...
- boardsFile(String) - Static method in class edu.wisc.game.rest.Files
-
The file into which the initial boards of all episodes played by a given player are written
- BONUS - edu.wisc.game.sql.PlayerInfo.Transition
-
A bonus episode in the same series
- br() - Method in class edu.wisc.game.formatter.Fmter
- br() - Method in class edu.wisc.game.formatter.HTMLFmter
- BRIEF - edu.wisc.game.sql.Episode.OutputMode
- bucketList - Variable in class edu.wisc.game.engine.RuleSet.Atom
- bucketNo() - Method in class edu.wisc.game.sql.Board.Pos
-
Converts the coordinates of a bucket to a bucket number.
- buckets - Static variable in class edu.wisc.game.sql.Board
-
The positions of the 4 buckets
C
- cache() - Method in class edu.wisc.game.sql.EpisodeInfo
- canActivateBonus() - Method in class edu.wisc.game.sql.PlayerInfo
- cap1(String) - Static method in class edu.wisc.game.util.Util
-
Capitalizes the first character of a string
- Captive - Class in edu.wisc.game.engine
-
The main class for the Captive Game Server
- Captive() - Constructor for class edu.wisc.game.engine.Captive
- checkbox(String, Object, Object, boolean) - Static method in class edu.wisc.game.util.Tools
- checkColors(ColorMap) - Method in class edu.wisc.game.rest.ParaSet
-
Makes sure that this parameter set's color list (used for generating random boards) only contains valid colors (present in the color map)
- checkImages() - Method in class edu.wisc.game.rest.ParaSet
- checkPlanHtml(String) - Method in class edu.wisc.game.rest.CheckPlanService
- CheckPlanService - Class in edu.wisc.game.rest
-
The "Check my experiment plan" service.
- CheckPlanService() - Constructor for class edu.wisc.game.rest.CheckPlanService
- checkShapes() - Method in class edu.wisc.game.rest.ParaSet
-
Makes sure that this parameter set's shape list (used for generating random boards) only contains valid shapes (for which SVG files exist)
- checkShapesAndColors(ColorMap) - Method in class edu.wisc.game.sql.Board
-
Checking that a board description does not include any colors or shapes that cannot be displayed
- checkShapesAndColors(ColorMap) - Method in class edu.wisc.game.sql.PredefinedBoardGameGenerator
- CIRCLE - Static variable in class edu.wisc.game.sql.Piece.Shape
- clearAll() - Static method in class edu.wisc.game.engine.AllRuleSets
-
Can be used to ensure that the rule sets will be reloaded
- clearTable() - Static method in class edu.wisc.game.sql.ImageObject
- clearTables() - Method in class edu.wisc.game.rest.CheckPlanService
- CLOSE - edu.wisc.game.parser.Token.Type
- code(String) - Method in class edu.wisc.game.formatter.Fmter
- CODE() - Constructor for class edu.wisc.game.sql.Episode.CODE
- COLON - edu.wisc.game.parser.Token.Type
- color - Variable in class edu.wisc.game.formatter.Fmter
- colored(String, String) - Method in class edu.wisc.game.formatter.Fmter
- colored(String, String) - Method in class edu.wisc.game.formatter.HTMLFmter
-
Builds an HTML FORM element for feedback about a charge, if this formatter is configured to generate them.
- colorMap() - Method in class edu.wisc.game.rest.GameService2
-
Returns a hash map that maps each color name (in upper case) to a vector of 3 integers, representing RGB values.
- ColorMap - Class in edu.wisc.game.rest
- ColorMap() - Constructor for class edu.wisc.game.rest.ColorMap
-
Reads in the color map file
- colors - Variable in class edu.wisc.game.engine.RuleSet.Atom
-
For shape-and-color pieces, determines acceptable colors.
- colors - Variable in class edu.wisc.game.rest.ParaSet
- COMMA - edu.wisc.game.parser.Token.Type
- compactFormat(Object) - Static method in class edu.wisc.game.reflect.Reflect
-
Compact human readable format, with no extra quotes, for various HTML tables
- compareTo(Object) - Method in class edu.wisc.game.reflect.Reflect.Entry
- containsKey(String) - Method in class edu.wisc.game.util.ParseConfig
- ConvertRules - Class in edu.wisc.game.engine
-
This class is used for a one-off project: converting the list of rules found in Kevin's GUI (stored in a JSON file there) to text files describing rules in a similar, but slightly different, format used by our server.
- ConvertRules() - Constructor for class edu.wisc.game.engine.ConvertRules
- countBonusEpisodes(int) - Method in class edu.wisc.game.sql.PlayerInfo
-
How many bonus episodes (complete or not) are currently in series No.
- counter - Variable in class edu.wisc.game.engine.RuleSet.Atom
-
-1 means "no limit"
- CsvData - Class in edu.wisc.game.util
-
Represents the entire content of a CSV file.
- CsvData(File) - Constructor for class edu.wisc.game.util.CsvData
- CsvData(File, boolean, boolean, int[]) - Constructor for class edu.wisc.game.util.CsvData
-
Creates a CsvData object from the content of a CSV file.
- CsvData.BasicLineEntry - Class in edu.wisc.game.util
- CsvData.CommentEntry - Class in edu.wisc.game.util
-
Stores a comment line from the CSV file.
- CsvData.LineEntry - Interface in edu.wisc.game.util
- csvHeader(Class) - Static method in class edu.wisc.game.reflect.Reflect
-
Saves the class description as the header line of a comma-separated file
- csvRow(Object) - Static method in class edu.wisc.game.reflect.Reflect
- csvRow(Object, String) - Static method in class edu.wisc.game.reflect.Reflect
-
Saves the object as a row of comma-separated file
- customizedReflect(Object, PairFormatter) - Static method in class edu.wisc.game.reflect.Reflect
-
More pretty version of
Reflect.reflectToString(Object o)
- cVal - Variable in class edu.wisc.game.parser.Token
D
- debug(String) - Static method in class edu.wisc.game.util.Logging
- debug(String, String) - Method in class edu.wisc.game.rest.GameService2
- DEFAULT - edu.wisc.game.sql.PlayerInfo.Action
-
Default transition -- no special choice
- DENY - Static variable in class edu.wisc.game.sql.Episode.CODE
- destinations(HashMap<String, HashSet<Integer>>) - Method in class edu.wisc.game.engine.RuleSet.BucketList
-
To which destinations can a piece be taken?
- destName() - Method in class edu.wisc.game.reflect.Reflect.Entry
-
Class.field, e.g.
- detailedTranscriptsFile(String) - Static method in class edu.wisc.game.rest.Files
- digest() - Method in annotation type edu.wisc.game.reflect.Display
-
If true, the field actually stores the MD5-digest of the relevant value.
- display(String) - Method in class edu.wisc.game.rest.GameService
- display(String) - Method in class edu.wisc.game.rest.GameService2
- Display - Annotation Type in edu.wisc.game.reflect
-
An annotation describing how, if at all, a particular data field (content of a SQL database column) is to be displayed in HTML tables and data entry forms etc.
- Display(int, String) - Constructor for class edu.wisc.game.sql.Episode.Display
- doMove(int, int, int, int, int) - Method in class edu.wisc.game.sql.Episode
-
Evaluate a move attempt
- doMove(int, int, int, int, int) - Method in class edu.wisc.game.sql.EpisodeInfo
-
Calls Episode.doMove, and then does various adjustments related to this episode's role in the experiment plan.
- doPick(int, int, int) - Method in class edu.wisc.game.sql.Episode
-
Evaluate a pick attempt
- doPick(int, int, int) - Method in class edu.wisc.game.sql.EpisodeInfo
- DOT - edu.wisc.game.parser.Token.Type
- DOTDOT - edu.wisc.game.parser.Token.Type
- dummy - Static variable in class edu.wisc.game.formatter.Fmter
-
A dummy plain text formatter.
E
- editable - Variable in class edu.wisc.game.reflect.Reflect.Entry
- editable() - Method in annotation type edu.wisc.game.reflect.Display
- edu.wisc.game.engine - package edu.wisc.game.engine
-
Top-level Game Server code
- edu.wisc.game.formatter - package edu.wisc.game.formatter
-
Auxiliary tools for formatting reports (as plain text or HTML)
- edu.wisc.game.parser - package edu.wisc.game.parser
-
Tools for parsing rule set descriptions
- edu.wisc.game.reflect - package edu.wisc.game.reflect
-
Auxiliary classes used for converting Java objects to Java structures and vice versa, and for related purposes
- edu.wisc.game.rest - package edu.wisc.game.rest
-
The RESTful web API
- edu.wisc.game.sql - package edu.wisc.game.sql
-
Persistent data structures
- edu.wisc.game.svg - package edu.wisc.game.svg
- edu.wisc.game.util - package edu.wisc.game.util
-
Auxiliary classes
- edu.wisc.game.web - package edu.wisc.game.web
-
Back-end classes for some auxiliary JSP pages
- ei(String) - Method in class edu.wisc.game.formatter.Fmter
-
Font emphasis for texts that are "CHEETA inference"
- em(String) - Method in class edu.wisc.game.formatter.Fmter
- EMPTY_CELL - Static variable in class edu.wisc.game.sql.Episode.CODE
- END - edu.wisc.game.sql.PlayerInfo.Transition
-
End the interaction with the system, as the player has at least sampled all param sets, and has completed (or given up on) all of them
- enrichFromArgv(String[]) - Method in class edu.wisc.game.util.ParseConfig
-
Scans the argv array, identifying all elements of the form X=Y.
- entries - Variable in class edu.wisc.game.reflect.Reflect
- entries - Variable in class edu.wisc.game.util.CsvData
-
All data lines, and possibly also comment lines, from the file
- Entry() - Constructor for class edu.wisc.game.reflect.Reflect.Entry
- Episode - Class in edu.wisc.game.sql
-
An Episode is a single instance of a Game played by a person or machine with our game server.
- Episode() - Constructor for class edu.wisc.game.sql.Episode
-
Dummy constructor; only used for error code production, and maybe also by JPA when restoring a player's info (with all episodes) from the database.
- Episode(Game, Episode.OutputMode, Reader, PrintWriter) - Constructor for class edu.wisc.game.sql.Episode
-
Creates a new Episode for a given Game (which defines rules and the properties of the initial board).
- Episode.CODE - Class in edu.wisc.game.sql
-
Return codes for the /move and /display API web API calls, and for the MOVE command in the captive game server.
- Episode.Display - Class in edu.wisc.game.sql
-
Can be sent to the web client in JSON format, where it would be used to display the current state of the episode
- Episode.FINISH_CODE - Class in edu.wisc.game.sql
- Episode.Move - Class in edu.wisc.game.sql
-
A Move instance describes an [attempted] act of picking a piece and dropping it into a bucket.
- Episode.OutputMode - Enum in edu.wisc.game.sql
- Episode.Pick - Class in edu.wisc.game.sql
-
A Pick instance describes the act of picking a piece, without specifying its destination
- episodeId - Variable in class edu.wisc.game.sql.Episode
-
This is used to assign episode IDs, which are unique within a given server run.
- EpisodeInfo - Class in edu.wisc.game.sql
-
An EpisodeInfo instance extends an Episode, containing additional information related to it being played as part of an experiment.
- EpisodeInfo.ExtendedDisplay - Class in edu.wisc.game.sql
-
Provides some extra information related to the episode's context within the experiment.
- episodeToDo() - Method in class edu.wisc.game.sql.PlayerInfo
-
Returns the currently unfinished last episode to be resumed, or a new episode (in the current series or the next series, as the case may be), or null if this player has finished with all series.
- EQQ - edu.wisc.game.parser.Token.Type
- EQUAL - edu.wisc.game.parser.Token.Type
- equals(Object) - Method in class edu.wisc.game.parser.Token
- equals(Object) - Method in class edu.wisc.game.sql.Piece.Color
- equals(Object) - Method in class edu.wisc.game.sql.Piece
- equals(Object) - Method in class edu.wisc.game.sql.Piece.Shape
- equals(Object) - Method in class edu.wisc.game.sql.Role
-
Equality is based on the role names
- error(String) - Static method in class edu.wisc.game.util.Logging
- escape(String) - Static method in class edu.wisc.game.util.ImportCSV
-
Process a string for writing into a CSV file.
- escape(String[]) - Static method in class edu.wisc.game.util.ImportCSV
-
Processes all Strings for wrting into a CSV file
- evalSet(HashMap<String, HashSet<Integer>>) - Method in interface edu.wisc.game.parser.Expression.ArithmeticExpression
-
Evaluates this expression for the given values of the variables involved.
- evalSet(HashMap<String, HashSet<Integer>>) - Method in class edu.wisc.game.parser.Expression.BracketList
- evalSet(HashMap<String, HashSet<Integer>>) - Method in class edu.wisc.game.parser.Expression.EqualityExpression
- evalSet(HashMap<String, HashSet<Integer>>) - Method in class edu.wisc.game.parser.Expression.Id
- evalSet(HashMap<String, HashSet<Integer>>) - Method in class edu.wisc.game.parser.Expression.NegationExpression
- evalSet(HashMap<String, HashSet<Integer>>) - Method in class edu.wisc.game.parser.Expression.Num
- evalSet(HashMap<String, HashSet<Integer>>) - Method in class edu.wisc.game.parser.Expression.QualifiedId
- evalSet(HashMap<String, HashSet<Integer>>) - Method in class edu.wisc.game.parser.Expression.SerialExpression
- exceptionTrace() - Method in class edu.wisc.game.web.ResponseBase
- EXIT - Static variable in class edu.wisc.game.sql.Episode.CODE
- Expression - Interface in edu.wisc.game.parser
- Expression.AdditiveExpression - Class in edu.wisc.game.parser
- Expression.ArithmeticExpression - Interface in edu.wisc.game.parser
-
An arithmetic expression is composed of variables, constants, and arithmetic operations; parentheses can be used for ordering operations.
- Expression.BracketList - Class in edu.wisc.game.parser
- Expression.ColonExpression - Class in edu.wisc.game.parser
-
Id:ArithmeticExpression; used in GS 3
- Expression.EqualityExpression - Class in edu.wisc.game.parser
-
Has exactly two operands, and the operator is '=='
- Expression.ExList - Class in edu.wisc.game.parser
-
Can be overridden as needed
- Expression.Id - Class in edu.wisc.game.parser
-
A variable.
- Expression.MultiplicativeExpression - Class in edu.wisc.game.parser
- Expression.NegationExpression - Class in edu.wisc.game.parser
-
!E evaluates to [1] if E is an empty set, or to [] otherwise
- Expression.Num - Class in edu.wisc.game.parser
-
A numeric constant
- Expression.ParenList - Class in edu.wisc.game.parser
- Expression.QualifiedId - Class in edu.wisc.game.parser
-
A.B
- Expression.RangeExpression - Class in edu.wisc.game.parser
-
[Num..Num]
- Expression.SerialExpression - Class in edu.wisc.game.parser
-
Additive or multiplicative
- Expression.Star - Class in edu.wisc.game.parser
-
A Star expression is simply "*".
- extractExperimentPlanFromPlayerId(String) - Static method in class edu.wisc.game.rest.TrialList
-
To which experiment plan does this player ID belong?
F
- f - Variable in class edu.wisc.game.reflect.Reflect.Entry
- Farthest - edu.wisc.game.engine.Order.PositionSelector
- fetchVecs() - Method in class edu.wisc.game.reflect.OurTable
-
This is meant to cause JPA load vectors that are not automatically loaded.
- file - Variable in class edu.wisc.game.sql.ImageObject
- Files - Class in edu.wisc.game.rest
-
Information about the data files the Rule Game web server reads and writes
- Files() - Constructor for class edu.wisc.game.rest.Files
- FileWriteReport - Class in edu.wisc.game.rest
-
This data structure is converted to JSON and send to the client in response to the /writeFile web API call.
- findColor(String) - Static method in class edu.wisc.game.sql.Piece.Color
- findEligiblePieces(BitSet) - Method in class edu.wisc.game.engine.Order
-
In the present board configuration, which piece(s) would be eligible to be picked right now under this order?
- findShape(String) - Static method in class edu.wisc.game.sql.Piece.Shape
-
Finds an already existing Shape object with a specified name, or creates a new one
- FINISH - Static variable in class edu.wisc.game.sql.Episode.FINISH_CODE
- FINISH_CODE() - Constructor for class edu.wisc.game.sql.Episode.FINISH_CODE
- flip2corner() - Method in class edu.wisc.game.sql.Board.Pos
-
Mirror image of this cell into the bottom left corner
- Fmter - Class in edu.wisc.game.formatter
-
Auxiliary class for formatting output as plain text of HTML.
- Fmter() - Constructor for class edu.wisc.game.formatter.Fmter
- formatAsString(Object, String) - Static method in class edu.wisc.game.reflect.Reflect
-
Formats a single field of an object.
- foundAny(String, String[]) - Static method in class edu.wisc.game.util.Util
- foundAnyWordStart(String, String[]) - Static method in class edu.wisc.game.util.Util
- FULL - edu.wisc.game.sql.Episode.OutputMode
G
- g - Variable in class edu.wisc.game.reflect.Reflect.Entry
-
The getter method for the field.
- Game - Class in edu.wisc.game.sql
- Game(RuleSet, int, int, int, Piece.Shape[], Piece.Color[]) - Constructor for class edu.wisc.game.sql.Game
-
A game with shape-and-color objects used as game pieces
- Game(RuleSet, int, Piece.Shape[], Piece.Color[]) - Constructor for class edu.wisc.game.sql.Game
- Game(RuleSet, int, String[]) - Constructor for class edu.wisc.game.sql.Game
-
A game with image-and-properties-based objects used as game pieces
- Game(RuleSet, Board) - Constructor for class edu.wisc.game.sql.Game
- GameGenerator - Class in edu.wisc.game.sql
-
This class generates random games (with the same rule set and randomly created initial boards) based on the provided parameter range specifications
- GamePlayException - Exception in edu.wisc.game.engine
- GamePlayException(String) - Constructor for exception edu.wisc.game.engine.GamePlayException
- GameService - Class in edu.wisc.game.rest
-
The "First Batch" of API calls, primarily for use in the research environment, where a player can choose any game to play
- GameService() - Constructor for class edu.wisc.game.rest.GameService
- GameService2 - Class in edu.wisc.game.rest
-
The "Second Batch" of API calls, primarily for use with players constrained by an experiment plan, and playing a sequence of games as outlined in the trial list to which the player is assigned.
- GameService2() - Constructor for class edu.wisc.game.rest.GameService2
- GameService2Html - Class in edu.wisc.game.rest
-
The HTML wrapper for the Second Batch calls, to allow for the "HTML Play".
- GameService2Html() - Constructor for class edu.wisc.game.rest.GameService2Html
- GameServiceHtml - Class in edu.wisc.game.rest
-
The HTML wrapper for the First Batch calls, to allow for the "HTML Play".
- GameServiceHtml() - Constructor for class edu.wisc.game.rest.GameServiceHtml
- GameSocketServer - Class in edu.wisc.game.engine
-
The socket implementation of a captive game server
- GameSocketServer() - Constructor for class edu.wisc.game.engine.GameSocketServer
- getAllEpisodes() - Method in class edu.wisc.game.sql.PlayerInfo
- getAlreadyFinished() - Method in class edu.wisc.game.rest.NewEpisodeWrapper2
-
True if this player has finished all episodes he could play.
- getAlreadyFinished() - Method in class edu.wisc.game.rest.PlayerResponse
-
True if this player has finished all episodes he could play.
- getBoard() - Method in class edu.wisc.game.rest.NewEpisodeWrapper
- getBoard() - Method in class edu.wisc.game.sql.Episode.Display
-
What pieces are on the board now, and what pieces have been removed
- getBoard(String) - Method in class edu.wisc.game.rest.GameService
-
Gets a Board object by ID
- getBoard1() - Method in class edu.wisc.game.rest.GameService
- getBoard2() - Method in class edu.wisc.game.rest.GameService
- getBonusEpisodeNo() - Method in class edu.wisc.game.sql.EpisodeInfo.ExtendedDisplay
-
The number of bonus episodes that have been completed (or given up) prior to the beginning of this episode.
- getBoolean(double) - Method in class edu.wisc.game.util.RandomRG
- getBoolean(String, boolean) - Method in class edu.wisc.game.util.ParseConfig
- getBoolean(HttpServletRequest, String, boolean) - Static method in class edu.wisc.game.util.Tools
- getBucketNo() - Method in class edu.wisc.game.sql.Episode.Move
- getBuckets() - Method in class edu.wisc.game.sql.Piece
- getByteCnt() - Method in class edu.wisc.game.rest.FileWriteReport
- getCanActivateBonus() - Method in class edu.wisc.game.sql.EpisodeInfo.ExtendedDisplay
-
This is set to true if an "Activate Bonus" button can be displayed now, i.e.
- getClearingThreshold() - Method in class edu.wisc.game.rest.ParaSet
- getCode() - Method in class edu.wisc.game.sql.Episode.Display
-
On a /move call: Has this move been accepted or rejected? (When returned by /display response, the value is -8).
- getCode() - Method in class edu.wisc.game.sql.Episode.Pick
- getCol(int) - Method in class edu.wisc.game.util.CsvData.BasicLineEntry
- getColor() - Method in class edu.wisc.game.sql.Piece
-
This method is used just for Jersey/REST, to simplify JSON output structure, making it similar to that used in Game Engine 1.0
- getColors() - Method in class edu.wisc.game.rest.ParaSet
-
For JSON
- getCompletionCode() - Method in class edu.wisc.game.rest.NewEpisodeWrapper2
-
The completion code, a string that the player can report as a proof of his completion of the experiment plan.
- getCompletionCode() - Method in class edu.wisc.game.rest.PlayerResponse
- getCompletionCode() - Method in class edu.wisc.game.sql.PlayerInfo
-
The completion code, a string that the player can report as a proof of his completion of the experiment plan.
- getCurrentBoard() - Method in class edu.wisc.game.sql.Episode
-
Shows the current board (without removed [dropped] pieces)
- getCurrentBoard() - Method in class edu.wisc.game.sql.EpisodeInfo
-
Shows tHe current board (including dropped pieces, which are labeled as such)
- getCurrentSeriesNo() - Method in class edu.wisc.game.sql.PlayerInfo
- getDate() - Method in class edu.wisc.game.sql.PlayerInfo
- getDisplay() - Method in class edu.wisc.game.rest.NewEpisodeWrapper
-
The structure with a lot of information about the current episode, and its place in the experiment's framework.
- getDisplay() - Method in class edu.wisc.game.rest.NewEpisodeWrapper2
-
The structure with a lot of information about the current episode, and its place in the experiment's framework.
- getDouble(String) - Method in class edu.wisc.game.rest.ParaSet
- getDouble(String, boolean, double) - Method in class edu.wisc.game.rest.ParaSet
- getDouble(String, double) - Method in class edu.wisc.game.util.ParseConfig
- getDouble(HttpServletRequest, String, double) - Static method in class edu.wisc.game.util.Tools
- getDropped() - Method in class edu.wisc.game.sql.Piece
- getEM() - Static method in class edu.wisc.game.sql.Main
-
Creates a new EntityManager from the EntityManagerFactory.
- getEntry(String) - Method in class edu.wisc.game.reflect.Reflect
- getEnum(Class<T>) - Method in class edu.wisc.game.util.RandomRG
-
Get a random value of a specified enum class
- getEnum(Class<T>, String, T) - Method in class edu.wisc.game.util.ParseConfig
- getEnum(HttpServletRequest, Class<T>, String, T) - Static method in class edu.wisc.game.util.Tools
- getEnums(HttpServletRequest, Class<T>, String) - Static method in class edu.wisc.game.util.Tools
- getEpisodeId() - Method in class edu.wisc.game.rest.NewEpisodeWrapper
- getEpisodeId() - Method in class edu.wisc.game.rest.NewEpisodeWrapper2
-
The episode ID of the resumed or newly created episode
- getEpisodeId() - Method in class edu.wisc.game.sql.Episode
- getEpisodeNo() - Method in class edu.wisc.game.sql.EpisodeInfo.ExtendedDisplay
-
The number of this episode within the current series (zero-based).
- getERole() - Method in class edu.wisc.game.sql.Role
- getErrmsg() - Method in class edu.wisc.game.rest.ResponseBase
- getErrmsg() - Method in class edu.wisc.game.rest.TrialList
- getErrmsg() - Method in class edu.wisc.game.sql.Episode.Display
-
The error or debug messsage, if any
- getErrmsg() - Method in class edu.wisc.game.sql.PropertiesTable
- getErrmsg() - Method in class edu.wisc.game.web.ResponseBase
- getError() - Method in class edu.wisc.game.rest.ResponseBase
- getError() - Method in class edu.wisc.game.rest.TrialList
- getError() - Method in class edu.wisc.game.sql.Episode.Display
- getError() - Method in class edu.wisc.game.sql.PropertiesTable
- getError() - Method in class edu.wisc.game.web.ResponseBase
- getEx() - Method in class edu.wisc.game.web.ResponseBase
- getExp(int, double) - Method in class edu.wisc.game.util.RandomRG
- getExpDouble(double, double) - Method in class edu.wisc.game.util.RandomRG
-
Returns an exponentially distributed random real number in the range [0, M], with the probability density dropping by e at L.
- getExperimentPlan() - Method in class edu.wisc.game.rest.PlayerResponse
- getExperimentPlan() - Method in class edu.wisc.game.sql.PlayerInfo
- getExplainCounters() - Method in class edu.wisc.game.sql.Episode.Display
-
The "explanation" of the current state of the current rule line
- getFactory() - Static method in class edu.wisc.game.sql.Main
-
Initializes the EntityManagerFactory using the System properties.
- getFinishCode() - Method in class edu.wisc.game.sql.Episode.Display
-
Is this episode still continues (code 0), has stalemated (2), or has the board been cleared (4)?
- getGuess() - Method in class edu.wisc.game.sql.EpisodeInfo
- getGuessConfidence() - Method in class edu.wisc.game.sql.EpisodeInfo
- getGuessSaved() - Method in class edu.wisc.game.sql.EpisodeInfo.ExtendedDisplay
-
True if the player's guess has been recorded at the end of this episode
- getGuessSaved() - Method in class edu.wisc.game.sql.EpisodeInfo
- getHello1() - Method in class edu.wisc.game.rest.GameService
-
Prints Hello: edu.wisc.game.sql.Board@3692d23f
- getHello2() - Method in class edu.wisc.game.rest.GameService
- getHex(Piece.Color, boolean) - Method in class edu.wisc.game.rest.ColorMap
- getHex(String, boolean) - Method in class edu.wisc.game.rest.ColorMap
- getId() - Method in class edu.wisc.game.sql.Board
- getId() - Method in class edu.wisc.game.sql.Piece
- getImage() - Method in class edu.wisc.game.sql.Piece
- getImageFile(String) - Static method in class edu.wisc.game.rest.Files
-
Looks for an image file with an appropriate name in the shapes directory.
- getImageObject() - Method in class edu.wisc.game.sql.Piece
- getImages() - Method in class edu.wisc.game.rest.ParaSet
- GetImageServlet - Class in edu.wisc.game.rest
-
Returns the content of the SVG file for the specified shape
- GetImageServlet() - Constructor for class edu.wisc.game.rest.GetImageServlet
- getInRange(int[]) - Method in class edu.wisc.game.util.RandomRG
- getInRange(int, int) - Method in class edu.wisc.game.util.RandomRG
-
Generates a random integer number x, uniformly distributed among the (max-min+1) values: min ≤ x ≤ max.
- getInt(String) - Method in class edu.wisc.game.rest.ParaSet
- getInt(String, int) - Method in class edu.wisc.game.util.ParseConfig
- getKey() - Method in class edu.wisc.game.util.CsvData.BasicLineEntry
- getKey() - Method in class edu.wisc.game.util.CsvData.CommentEntry
-
Returns null, as comment lines don't have keys
- getKey() - Method in interface edu.wisc.game.util.CsvData.LineEntry
-
The key associated with this data line.
- getLong(String, long) - Method in class edu.wisc.game.util.ParseConfig
- getLong(HttpServletRequest, String, long) - Static method in class edu.wisc.game.util.Tools
-
Retrives an integer HTTP request parameter.
- getLongId() - Method in class edu.wisc.game.reflect.OurTable
-
A very cludgy way to call getId() regardless of whether it's returning int or long
- getMaxBoards() - Method in class edu.wisc.game.rest.ParaSet
- getMovesLeftToStayInBonus() - Method in class edu.wisc.game.sql.EpisodeInfo.ExtendedDisplay
-
If it's not a bonus episode, null is returned.
- getMyPid() - Static method in class edu.wisc.game.sql.Main
-
Finds the process id of the UNIX process for this application.
- getName() - Method in class edu.wisc.game.sql.Board
- getNames(Class) - Static method in class edu.wisc.game.reflect.Reflect
-
Returns the array of field names
- getNewEM() - Static method in class edu.wisc.game.sql.Main
- getNewlyRegistered() - Method in class edu.wisc.game.rest.PlayerResponse
- getNPiecesStart() - Method in class edu.wisc.game.sql.Episode
- getNumMovesMade() - Method in class edu.wisc.game.sql.Episode.Display
-
How many move attempts (successful or not) has been made so far
- getOption(String, boolean) - Method in class edu.wisc.game.util.ParseConfig
-
Gets the requested integer value from the hash table or from the Java system property aName.
- getOption(String, int) - Method in class edu.wisc.game.util.ParseConfig
-
Gets the requested integer value from the hash table or from the Java system property aName.
- getOption(String, String) - Method in class edu.wisc.game.util.ParseConfig
-
Gets the requested value from the hash table or from the Java system property aName.
- getOptionDate(String, String) - Method in class edu.wisc.game.util.ParseConfig
-
Gets a date parameter, in the format YYYY-MM-DD
- getOptionDouble(String, double) - Method in class edu.wisc.game.util.ParseConfig
-
Gets the requested double value from the hash table or from the Java system property aName.
- getOptionEnum(Class<T>, String, T) - Method in class edu.wisc.game.util.ParseConfig
-
Returns the value of the specified parameter if it can be interpreted as a value of the specified enumerated type.
- getOptionEnumArray(Class<T>, String, T[]) - Method in class edu.wisc.game.util.ParseConfig
-
Reads a comma-separated array of enums.
- getOptionLong(String, long) - Method in class edu.wisc.game.util.ParseConfig
- getOrders() - Method in class edu.wisc.game.engine.RuleSet.ReportedSrc
-
A vector of strings, each of which describes one order defined for this rules set
- getOwningEntry(Enum) - Method in class edu.wisc.game.reflect.Reflect
-
Finds the entry that describes the field whose type is the the enumerated class for which e is one of the values.
- getPara() - Method in class edu.wisc.game.rest.NewEpisodeWrapper2
-
The parameter set currently in effect.
- getPara(EpisodeInfo) - Method in class edu.wisc.game.sql.PlayerInfo
-
Gives a link to the ParaSet associated with a given episode
- getParam(String) - Method in class edu.wisc.game.rest.GameService
-
Gets the entire parameter set, identified by name
- getParameter(String) - Method in class edu.wisc.game.util.ParseConfig
-
Gets the requested value from the hash table.
- getParamHtml(String) - Method in class edu.wisc.game.rest.GameService
-
Gets the entire parameter set, identified by name
- getPath() - Method in class edu.wisc.game.rest.FileWriteReport
- getPath() - Method in class edu.wisc.game.rest.TrialList
- getPath() - Method in class edu.wisc.game.sql.PropertiesTable
- getPickCost() - Method in class edu.wisc.game.rest.ParaSet
-
The cost of a pick attempt, in terms of the cost of a move.
- getPiece1() - Method in class edu.wisc.game.rest.GameService
- getPiece2() - Method in class edu.wisc.game.rest.GameService
- getPieceId() - Method in class edu.wisc.game.sql.Episode.Pick
- getPlayer() - Method in class edu.wisc.game.sql.EpisodeInfo
- getPlayer() - Method in class edu.wisc.game.sql.TestChild
- getPlayerId() - Method in class edu.wisc.game.sql.PlayerInfo
- getPlayerInfo() - Method in class edu.wisc.game.rest.PlayerResponse
- getPos() - Method in class edu.wisc.game.sql.Episode.Pick
- getProperty(String) - Method in class edu.wisc.game.sql.Piece
-
Empty in SC objects; contains properties in IPB objects
- getReflect(Class) - Static method in class edu.wisc.game.reflect.Reflect
-
Looks up or creates a Reflect instance for a specified class.
- getRole() - Method in class edu.wisc.game.sql.Role
- getRows() - Method in class edu.wisc.game.engine.RuleSet.ReportedSrc
-
A vector of strings, each of which describes one line of this rules set
- getRuleLineNo() - Method in class edu.wisc.game.sql.Episode.Display
-
Zero-based position of the line of the rule set that the game engine is currently looking at.
- getRules() - Method in class edu.wisc.game.sql.GameGenerator
- getRuleSetName() - Method in class edu.wisc.game.rest.ParaSet
- getRuleSetName() - Method in class edu.wisc.game.sql.EpisodeInfo.ExtendedDisplay
- getRulesSrc() - Method in class edu.wisc.game.sql.Episode.Display
-
A structure that describes the rules of the game being played in this episode.
- getSeriesNo() - Method in class edu.wisc.game.sql.EpisodeInfo.ExtendedDisplay
-
The number of the current series (zero-based) among all series in the trial list.
- getSeriesNo() - Method in class edu.wisc.game.sql.EpisodeInfo
- getShape() - Method in class edu.wisc.game.sql.Piece
-
For JSON
- getShapes() - Method in class edu.wisc.game.rest.ParaSet
- getStartTime() - Method in class edu.wisc.game.sql.Episode
- getString(String, String) - Method in class edu.wisc.game.util.ParseConfig
- getString(HttpServletRequest, String, String) - Static method in class edu.wisc.game.util.Tools
- getSvgFile(Piece.Shape) - Static method in class edu.wisc.game.rest.Files
- getSvgFile(String) - Static method in class edu.wisc.game.rest.Files
- GetSvgWrapper - Class in edu.wisc.game.rest
-
Returns the content of the SVG file for the specified shape
- GetSvgWrapper(HttpServletRequest, HttpServletResponse, Writer) - Constructor for class edu.wisc.game.rest.GetSvgWrapper
- getTotalBoardsPredicted() - Method in class edu.wisc.game.sql.EpisodeInfo.ExtendedDisplay
-
Based on the current situation, what is the maximum number of episodes that can be run within the current series? (Until max_boards is reached, if in the main subseries, or until the bonus is earned, if in the bonus subseries).
- getTotalRewardEarned() - Method in class edu.wisc.game.sql.EpisodeInfo.ExtendedDisplay
-
The total reward earned by this player so far, including the regular rewards and any bonuses, for all episodes.
- getTotalRewardEarned() - Method in class edu.wisc.game.sql.PlayerInfo
- getTranscript() - Method in class edu.wisc.game.sql.Episode.Display
-
The list of all move attempts (successful or not) done so far in this episode
- getTransitionMap() - Method in class edu.wisc.game.rest.GuessWriteReport
-
Describes the possible transitions (another episode in the same series, new series, etc) which can be effected after this episode.
- getTransitionMap() - Method in class edu.wisc.game.sql.EpisodeInfo.ExtendedDisplay
-
Describes the possible transitions (another episode in the same series, new series, etc) which can be effected after this episode.
- getTrialList() - Method in class edu.wisc.game.rest.PlayerResponse
- getTrialListId() - Method in class edu.wisc.game.rest.PlayerResponse
- getTrialListId() - Method in class edu.wisc.game.sql.EpisodeInfo.ExtendedDisplay
- getTrialListId() - Method in class edu.wisc.game.sql.PlayerInfo
- getValue() - Method in class edu.wisc.game.sql.Board
- getValues() - Method in class edu.wisc.game.rest.ListShapesWrapper
- getVersion() - Method in class edu.wisc.game.rest.GameService2
-
Reports the current version of the server
- getX() - Method in class edu.wisc.game.sql.Piece
- getY() - Method in class edu.wisc.game.sql.Piece
- GIVE_UP - edu.wisc.game.sql.PlayerInfo.Action
-
Give up
- giveError(String) - Method in class edu.wisc.game.web.ResponseBase
-
Sets the error flag and the error message
- GIVEN_UP - Static variable in class edu.wisc.game.sql.Episode.FINISH_CODE
- giveUp(int) - Method in class edu.wisc.game.sql.PlayerInfo
-
"Gives up" he current series, i.e.
- giveUp(String, int) - Method in class edu.wisc.game.rest.GameService2
- GiveUpWrapper - Class in edu.wisc.game.rest
- globalAllEpisodes - Static variable in class edu.wisc.game.sql.EpisodeInfo
- globalCounter - Variable in class edu.wisc.game.engine.RuleSet.Row
-
The default value, 0, means that there is no global limit in this row
- graphicDisplay() - Method in class edu.wisc.game.sql.Episode
-
Graphic display of the board
- graphicDisplay(boolean) - Method in class edu.wisc.game.sql.Episode
- graphicDisplayAscii(boolean) - Method in class edu.wisc.game.sql.Episode
-
Retired from the web game server; still used in Captive Game Server.
- guess(String, String, int) - Method in class edu.wisc.game.rest.GameService2
-
Records a player's guess about the rules.
- guessesFile(String) - Static method in class edu.wisc.game.rest.Files
-
The file into which guesses by a given player are written
- guessHtml(String, String, int) - Method in class edu.wisc.game.rest.GameService2Html
- GuessWriteReport - Class in edu.wisc.game.rest
-
This data structure is converted to JSON and send to the client in response to the /guess web API call.
H
- h1(String) - Method in class edu.wisc.game.formatter.Fmter
- h2(String) - Method in class edu.wisc.game.formatter.Fmter
- h3(String) - Method in class edu.wisc.game.formatter.Fmter
- h4(String) - Method in class edu.wisc.game.formatter.Fmter
- h5(String) - Method in class edu.wisc.game.formatter.Fmter
- hasColor(Piece.Color) - Method in class edu.wisc.game.rest.ColorMap
- hashCode() - Method in class edu.wisc.game.sql.Piece
- hashCode() - Method in class edu.wisc.game.sql.Piece.PseudoEnum
- hashCode() - Method in class edu.wisc.game.sql.Role
-
Based on underlying role name
- header - Variable in class edu.wisc.game.util.CsvData
-
The header line of the CSV file.
- hidden(String, String) - Method in class edu.wisc.game.formatter.HTMLFmter
- hr() - Method in class edu.wisc.game.formatter.Fmter
- hr() - Method in class edu.wisc.game.formatter.HTMLFmter
- hrThin() - Method in class edu.wisc.game.formatter.Fmter
- hrThin() - Method in class edu.wisc.game.formatter.HTMLFmter
- html - Variable in class edu.wisc.game.formatter.Fmter
- html(String, String) - Method in class edu.wisc.game.formatter.HTMLFmter
- htmlFmter - Static variable in class edu.wisc.game.formatter.HTMLFmter
- HTMLFmter - Class in edu.wisc.game.formatter
-
Auxiliary class for formatting output as HTML.
- HTMLFmter(File) - Constructor for class edu.wisc.game.formatter.HTMLFmter
- htmlHeaderRow(Class, boolean) - Static method in class edu.wisc.game.reflect.Reflect
- htmlRow(Object, boolean) - Static method in class edu.wisc.game.reflect.Reflect
- htmlRow(Object, boolean, boolean) - Static method in class edu.wisc.game.reflect.Reflect
-
Returns a complete TR element, or just a bunch of TD cells.
I
- ID - edu.wisc.game.parser.Token.Type
- ignores(String) - Method in class edu.wisc.game.reflect.OurTable
-
In some classes, certain fields should not be displayed or modified unless certain conditions apply.
- IllegalInputException - Exception in edu.wisc.game.util
-
An exception of this type is thrown when we want to report to the user that the data he's entered are invalid
- IllegalInputException(String) - Constructor for exception edu.wisc.game.util.IllegalInputException
- ImageObject - Class in edu.wisc.game.sql
-
Describes an image-and-properties-based object
- images - Variable in class edu.wisc.game.rest.ParaSet
-
Will be set as appropriate if specified in the CSV file "images" column
- ImportCSV - Class in edu.wisc.game.util
-
Methods responsible for parsing CSV files.
- ImportCSV() - Constructor for class edu.wisc.game.util.ImportCSV
- info(String) - Static method in class edu.wisc.game.util.Logging
- initialBoard - Variable in class edu.wisc.game.sql.Game
-
Only if fixed; null if random
- initialBoardFile(String) - Static method in class edu.wisc.game.rest.Files
- initRandom(long) - Static method in class edu.wisc.game.sql.Board
-
This can be called on startup (from main()) if we want to initialize the random number generator with a specific seed
- initSeries(TrialList) - Method in class edu.wisc.game.sql.PlayerInfo
-
This is usesd when a player is first registered and a PlayerInfo object is first created
- input(String) - Method in class edu.wisc.game.formatter.HTMLFmter
- input(String, String) - Method in class edu.wisc.game.formatter.HTMLFmter
- input(String, String, int) - Method in class edu.wisc.game.formatter.HTMLFmter
- inputBoardSubdir(String) - Static method in class edu.wisc.game.rest.Files
-
A subdirectory of the input boards directory, for use in a param set with initial boards
- inputHidden(String, boolean) - Static method in class edu.wisc.game.util.Tools
-
Creates an "input type=hidden" HTML tag
- inputHidden(String, long) - Static method in class edu.wisc.game.util.Tools
- inputHidden(String, String) - Static method in class edu.wisc.game.util.Tools
- inputText(String) - Static method in class edu.wisc.game.util.Tools
- inputText(String, Object, int) - Static method in class edu.wisc.game.util.Tools
-
Creates an 'input type=text' tag.
- inputTextArea(String, Object, int, int) - Static method in class edu.wisc.game.util.Tools
- INVALID_ARGUMENTS - Static variable in class edu.wisc.game.sql.Episode.CODE
- INVALID_COMMAND - Static variable in class edu.wisc.game.sql.Episode.CODE
- INVALID_POS - Static variable in class edu.wisc.game.sql.Episode.CODE
- INVALID_RULES - Static variable in class edu.wisc.game.sql.Episode.CODE
- isBonus() - Method in class edu.wisc.game.sql.EpisodeInfo.ExtendedDisplay
-
True if this episode is part of a bonus subseries.
- isBonus() - Method in class edu.wisc.game.sql.EpisodeInfo
- isDigest() - Method in class edu.wisc.game.reflect.Reflect.Entry
-
Does this field store an MD5 digest, rather than the actual value?
- isFeedbackSwitchesFree() - Method in class edu.wisc.game.rest.ParaSet
-
True if the player is not told which pieces are movable.
J
- join(String, Vector<T>) - Static method in class edu.wisc.game.util.Util
- join(String, T[]) - Static method in class edu.wisc.game.util.Util
- joinNonBlank(String, Collection<T>) - Static method in class edu.wisc.game.util.Util
-
Only uses non-null non-blank strings
- joinNonBlank(String, T[]) - Static method in class edu.wisc.game.util.Util
- json2java(JsonObject, Object) - Static method in class edu.wisc.game.reflect.JsonToJava
-
Fills the fields of Java object dest from JSON structure jo.
- JsonReflect - Class in edu.wisc.game.reflect
-
Tools for exporting Java objects as JSON structures
- JsonToJava - Class in edu.wisc.game.reflect
-
Tools for importing Java objects from JSON structures.
- JsonToJava() - Constructor for class edu.wisc.game.reflect.JsonToJava
- JUST_A_DISPLAY - Static variable in class edu.wisc.game.sql.Episode.CODE
K
- key - Variable in class edu.wisc.game.sql.ImageObject
L
- L - edu.wisc.game.engine.Order.PositionSelector
- L1 - edu.wisc.game.engine.Order.PositionSelector
- L2 - edu.wisc.game.engine.Order.PositionSelector
- L3 - edu.wisc.game.engine.Order.PositionSelector
- L4 - edu.wisc.game.engine.Order.PositionSelector
- legacyColors - Static variable in class edu.wisc.game.sql.Piece.Color
-
The four original colors, inherited from Game Engine 1.0, and used for compatibility with old trial list files.
- legacyShapes - Static variable in class edu.wisc.game.sql.Piece.Shape
- link() - Method in annotation type edu.wisc.game.reflect.Display
- listAllColors() - Method in class edu.wisc.game.engine.RuleSet
-
Lists all colors used in this rule set.
- listAllPropValues() - Method in class edu.wisc.game.engine.RuleSet
-
Lists all properties, and all property values, used in this rule set.
- listAllShapes() - Method in class edu.wisc.game.engine.RuleSet
-
Lists all shapes used in this rule set.
- listAllShapes() - Method in class edu.wisc.game.sql.Piece.Shape
-
Lists all shapes known to the system so far
- listAllVars() - Method in interface edu.wisc.game.parser.Expression.ArithmeticExpression
- listAllVars() - Method in class edu.wisc.game.parser.Expression.BracketList
- listAllVars() - Method in class edu.wisc.game.parser.Expression.Id
- listAllVars() - Method in class edu.wisc.game.parser.Expression.NegationExpression
-
Lists all variable names used in this expression
- listAllVars() - Method in class edu.wisc.game.parser.Expression.Num
- listAllVars() - Method in class edu.wisc.game.parser.Expression.SerialExpression
-
Lists all variable names used in this expression
- listInitialBoards() - Method in class edu.wisc.game.rest.GameService
- listProperties() - Method in class edu.wisc.game.sql.ImageObject
- listRules() - Method in class edu.wisc.game.rest.GameService
- listSAllExperimentPlans() - Static method in class edu.wisc.game.rest.Files
-
List all existing experiment plans (based on the directory names in the appropriate tree)
- listSAllExperimentPlansHtml() - Static method in class edu.wisc.game.rest.Files
-
Creates an HTML snippet (to be used inside a FORM) listing all currently existing experiment plans.
- listShapes() - Method in class edu.wisc.game.rest.GameService2
-
Lists the names of all shapes.
- ListShapesWrapper - Class in edu.wisc.game.rest
-
Lists all available shapes
- ListShapesWrapper() - Constructor for class edu.wisc.game.rest.ListShapesWrapper
- listTrialLists(File) - Static method in class edu.wisc.game.rest.TrialList
- listTrialLists(String) - Static method in class edu.wisc.game.rest.TrialList
- locateEpisode(String) - Static method in class edu.wisc.game.sql.EpisodeInfo
- Logging - Class in edu.wisc.game.util
-
Methods used by CHEETA to log warning and error messages.
- Logging() - Constructor for class edu.wisc.game.util.Logging
- LOST - Static variable in class edu.wisc.game.sql.Episode.FINISH_CODE
M
- main(String[]) - Static method in class edu.wisc.game.engine.Captive
-
A complete CGS session.
- main(String[]) - Static method in class edu.wisc.game.engine.ConvertRules
-
Reads Kevin's file such as Games.21-38.json, and converts it to Game Server rule set files.
- main(String[]) - Static method in class edu.wisc.game.engine.GameSocketServer
- main(String[]) - Static method in class edu.wisc.game.engine.RuleSet
- main(String[]) - Static method in class edu.wisc.game.parser.Token
- main(String[]) - Static method in class edu.wisc.game.rest.PlayerResponse
-
Handy testing
- main(String[]) - Static method in class edu.wisc.game.sql.Test
- main(String[]) - Static method in class edu.wisc.game.svg.Arrows
- main(String[]) - Static method in class edu.wisc.game.util.ParseConfig
-
Purely for testing.
- Main - Class in edu.wisc.game.sql
- Main() - Constructor for class edu.wisc.game.sql.Main
- MAIN - edu.wisc.game.sql.PlayerInfo.Transition
-
A main-subseries episode in the same series
- makeGetMethodName(String) - Static method in class edu.wisc.game.reflect.Reflect
- makeGetMethodName2(String) - Static method in class edu.wisc.game.reflect.Reflect
- makeSetMethodName(String) - Static method in class edu.wisc.game.reflect.Reflect
- memory() - Static method in class edu.wisc.game.sql.Main
-
Reports memory use
- memory(String) - Static method in class edu.wisc.game.sql.Main
-
Reports memory use
- memoryInfo(String, boolean) - Static method in class edu.wisc.game.sql.Main
- mkBracketList(Vector<Token>) - Static method in interface edu.wisc.game.parser.Expression
- mkCounterOrAtom(Vector<Token>) - Static method in interface edu.wisc.game.parser.Expression
-
Extracts one of the sections of a rule line: either the leading counter (int or star), or one of the atoms (paren lists that may include arithmetic expressions or stars)
- mkDisplay() - Method in class edu.wisc.game.sql.Episode
-
Builds a Display objecy to be sent out over the web UI upon a /display call (rather than a /move or /pick)
- mkDisplay() - Method in class edu.wisc.game.sql.EpisodeInfo
-
Builds a display to be sent out over the web UI
- mkEntry(String[], int) - Method in class edu.wisc.game.util.CsvData
-
Child classes would override this, typically with a wrapper around the constructor for an object that represents the content of a single line
- mkGameGenerator(ParaSet) - Static method in class edu.wisc.game.sql.GameGenerator
-
Creates a GameGenerator based on a parameter set.
- mkLongestArithmeticExpression(Vector<Token>) - Static method in interface edu.wisc.game.parser.Expression
-
Creates the longest ArithmeticExpression starting at the beginning of the tokens array.
- mkLongestE1(Vector<Token>) - Static method in interface edu.wisc.game.parser.Expression
-
E1 := (E) | Id.Id | Id | Num | [E,E,...]
- mkNewHeader(String) - Method in class edu.wisc.game.util.CsvData
-
Creates a new header line by appending some extra columns to the stored header line of this file.
- moduloNB(Set<Integer>) - Static method in interface edu.wisc.game.parser.Expression
-
Translates all elements of the set to the [0..NBU-1] range, as appropriate for bucket numbers
- mostRecentEpisode() - Method in class edu.wisc.game.sql.PlayerInfo
-
Retrieves the most recent episode, which may be completed or incomplete.
- mostRecentEpisode(String) - Method in class edu.wisc.game.rest.GameService2
- mostRecentEpisodeHtml(String) - Method in class edu.wisc.game.rest.GameService2Html
- move(String, int, int, int) - Method in class edu.wisc.game.rest.GameService2
- move(String, int, int, int, int, int) - Method in class edu.wisc.game.rest.GameService
- move(String, int, int, int, int, int) - Method in class edu.wisc.game.rest.GameService2
- moveHtml(String, int, int, int, int, int) - Method in class edu.wisc.game.rest.GameService2Html
- moveHtml(String, int, int, int, int, int) - Method in class edu.wisc.game.rest.GameServiceHtml
- MULT_OP - edu.wisc.game.parser.Token.Type
N
- N - Static variable in class edu.wisc.game.sql.Board
- name - Variable in class edu.wisc.game.reflect.Reflect.Entry
- NAME - Static variable in class edu.wisc.game.util.Logging
- NBU - Static variable in class edu.wisc.game.sql.Episode
- nCol() - Method in class edu.wisc.game.util.CsvData.BasicLineEntry
- nColors - Variable in class edu.wisc.game.sql.Game
-
If starting with a random board, the number of pieces to use.
- Nearby - edu.wisc.game.engine.RuleSet.BucketSelector
- nearestBucket() - Method in class edu.wisc.game.sql.Board.Pos
-
Which bucket(s) is/are the nearest to this cell?
- NearestObject - edu.wisc.game.engine.Order.PositionSelector
- NEW_GAME - Static variable in class edu.wisc.game.sql.Episode.CODE
- newEpisode(String, boolean, boolean) - Method in class edu.wisc.game.rest.GameService2
- newEpisode(String, int, int, int, String) - Method in class edu.wisc.game.rest.GameService
- newEpisodeHtml(String, boolean, boolean) - Method in class edu.wisc.game.rest.GameService2Html
- newEpisodeHtml(String, int, int, int, String) - Method in class edu.wisc.game.rest.GameServiceHtml
- NewEpisodeWrapper - Class in edu.wisc.game.rest
- NewEpisodeWrapper2 - Class in edu.wisc.game.rest
-
This is an object that's converted to a JSON structure and sent to the client as a response in /GameService2/newEpisode calls.
- NEXT - edu.wisc.game.sql.PlayerInfo.Transition
-
Start next series (that is, a new param set, with new rules)
- nextGame() - Method in class edu.wisc.game.sql.GameGenerator
-
Generates the next game to play
- nextGame() - Method in class edu.wisc.game.sql.PredefinedBoardGameGenerator
- nextGame() - Method in class edu.wisc.game.sql.RandomGameGenerator
-
Generates a game with a random initial board, in accordance with this generator's parameters
- nextGame() - Method in class edu.wisc.game.sql.RandomImageGameGenerator
-
Generates a game with a random initial board, in accordance with this generator's parameters
- nextGame() - Method in class edu.wisc.game.sql.TrivialGameGenerator
-
One more game...
- NO - Static variable in class edu.wisc.game.sql.Episode.FINISH_CODE
- NO_GAME - Static variable in class edu.wisc.game.sql.Episode.CODE
- NO_SUCH_EPISODE - Static variable in class edu.wisc.game.sql.Episode.CODE
- norm1(Board.Pos) - Method in class edu.wisc.game.sql.Board.Pos
-
1-norm distance
- norm2sq(Board.Pos) - Method in class edu.wisc.game.sql.Board.Pos
-
Square of 2-norm distance
- nShapes - Variable in class edu.wisc.game.sql.Game
-
If starting with a random board, the number of pieces to use.
- num() - Method in class edu.wisc.game.sql.Board.Pos
-
Counted by row (left-to-right), rows being arranged bottom-to-top.
- Num(int) - Constructor for class edu.wisc.game.parser.Expression.Num
- NUMBER - edu.wisc.game.parser.Token.Type
- nVal - Variable in class edu.wisc.game.parser.Expression.Num
- nVal - Variable in class edu.wisc.game.parser.Token
O
- objectType() - Method in class edu.wisc.game.sql.Piece
- obtain(String) - Static method in class edu.wisc.game.engine.AllRuleSets
- obtainImageObjectPlain(File) - Static method in class edu.wisc.game.sql.ImageObject
- obtainImageObjectPlain(File, boolean) - Static method in class edu.wisc.game.sql.ImageObject
- obtainImageObjectPlain(File, String, boolean) - Static method in class edu.wisc.game.sql.ImageObject
-
Retrieves the ImageObject for a specified path from the master table.
- obtainImageObjects(String) - Static method in class edu.wisc.game.sql.ImageObject
- OPEN - edu.wisc.game.parser.Token.Type
- order() - Method in annotation type edu.wisc.game.reflect.Display
- Order - Class in edu.wisc.game.engine
-
An Order object describe a built-in or custom ordering of
- Order.PositionSelector - Enum in edu.wisc.game.engine
-
Names of built-in (predefined) orders
- orders - Variable in class edu.wisc.game.engine.RuleSet
-
All orders
- OurTable - Class in edu.wisc.game.reflect
-
All our entities (corresponding to table rows) implement this.
- OurTable() - Constructor for class edu.wisc.game.reflect.OurTable
P
- p - edu.wisc.game.engine.RuleSet.BucketSelector
- para(String) - Method in class edu.wisc.game.formatter.Fmter
- paraEi(String) - Method in class edu.wisc.game.formatter.Fmter
- ParaSet - Class in edu.wisc.game.rest
- parseColors(String) - Static method in class edu.wisc.game.rest.ParaSet
- ParseConfig - Class in edu.wisc.game.util
-
This class is used to obtain configuration parameters, from a configuration file or from Java System Properties.
- ParseConfig() - Constructor for class edu.wisc.game.util.ParseConfig
-
Creates an empty hashtable.
- ParseConfig(Reader) - Constructor for class edu.wisc.game.util.ParseConfig
-
Creates a hashtable that contains the parsed data obtained from an open reader (which may, for example, be associated with an open file), and then closes the reader.
- ParseConfig(String) - Constructor for class edu.wisc.game.util.ParseConfig
-
Creates a hashtable that contains the parsed contents of the specified configuration file.
- parseImages(String) - Static method in class edu.wisc.game.rest.ParaSet
-
Parses the content of the "images" column.
- parseShapes(String) - Static method in class edu.wisc.game.rest.ParaSet
-
Parses a semicolon-separated list of shapes.
- payment - Variable in class edu.wisc.game.reflect.Reflect.Entry
- payment() - Method in annotation type edu.wisc.game.reflect.Display
-
This flag is set true for those fields that must be verified when sending a payment
- pc - edu.wisc.game.engine.RuleSet.BucketSelector
- persistenceUnitName - Static variable in class edu.wisc.game.sql.Main
-
This name will be used to configure the EntityManagerFactory based on the corresponding name in the META-INF/persistence.xml file
- persistNewBoard() - Method in class edu.wisc.game.sql.Board
-
We aren't actually using SQL server to store boards, even though we have support for this
- persistObjects(Object...) - Static method in class edu.wisc.game.sql.Main
-
See also https://download.oracle.com/otn-pub/jcp/persistence-2_1-fr-eval-spec/JavaPersistence.pdf, which says (in "3.2.2 Persisting an Entity Instance"): If X is a new entity, it becomes managed.
- pickCostIsInt() - Method in class edu.wisc.game.rest.ParaSet
-
Is the cost of a pick attempt an integer?
- pickHtml(String, int, int, int) - Method in class edu.wisc.game.rest.GameService2Html
- Piece - Class in edu.wisc.game.sql
-
Represents a piece of a specified type at a specified location.
- Piece() - Constructor for class edu.wisc.game.sql.Piece
- Piece(Piece.Shape, Piece.Color, int, int) - Constructor for class edu.wisc.game.sql.Piece
- Piece(String, int, int) - Constructor for class edu.wisc.game.sql.Piece
- Piece.Color - Class in edu.wisc.game.sql
- Piece.PseudoEnum - Class in edu.wisc.game.sql
-
A flexible replacement for an Enum
- Piece.Shape - Class in edu.wisc.game.sql
- player(String, String) - Method in class edu.wisc.game.rest.GameService2
- playerHtml(String, String) - Method in class edu.wisc.game.rest.GameService2Html
- PlayerInfo - Class in edu.wisc.game.sql
-
Information about a player (what trial list he's in, what episodes he's done etc) stored in the SQL database.
- PlayerInfo() - Constructor for class edu.wisc.game.sql.PlayerInfo
- PlayerInfo.Action - Enum in edu.wisc.game.sql
-
What type of action takes the player to a particular destination?
- PlayerInfo.Transition - Enum in edu.wisc.game.sql
-
Where can we go from here?
- PlayerInfo.TransitionMap - Class in edu.wisc.game.sql
- PlayerResponse - Class in edu.wisc.game.rest
-
The HashMap capability is used for debugging info in debug mode
- playGame(int) - Method in class edu.wisc.game.sql.Episode
-
Lets this episode play out until either all pieces are cleared, or a stalemate is reached, or the player gives up (sends an EXIT or NEW command)
- plist - Variable in class edu.wisc.game.engine.RuleSet.Atom
- plural(String, int) - Static method in class edu.wisc.game.util.Util
-
"cow" -> "cows"
- pos() - Method in class edu.wisc.game.sql.Piece
- Pos(int) - Constructor for class edu.wisc.game.sql.Board.Pos
- Pos(int, int) - Constructor for class edu.wisc.game.sql.Board.Pos
- pre(String) - Method in class edu.wisc.game.formatter.Fmter
- PredefinedBoardGameGenerator - Class in edu.wisc.game.sql
-
This class generates games based on a set of predefined initial boards
- prefix - Variable in class edu.wisc.game.parser.Expression.ColonExpression
- prefix - Variable in class edu.wisc.game.parser.Expression.QualifiedId
- prefix - Static variable in class edu.wisc.game.web.ArithmeticResult
- PropertiesTable - Class in edu.wisc.game.sql
-
This is an auxiliary class, used to read the entire content of a properties file, and to create ImageObject objects for all image files in the directory.
- PropertiesTable(File) - Constructor for class edu.wisc.game.sql.PropertiesTable
-
Reads a properties file.
- ps - edu.wisc.game.engine.RuleSet.BucketSelector
R
- R - edu.wisc.game.engine.Order.PositionSelector
- radio(String, Object, Object, boolean) - Static method in class edu.wisc.game.util.Tools
- radioOrBox(String, String, Object, Object, boolean) - Static method in class edu.wisc.game.util.Tools
-
Creates an HTML "input" element of the "radio" or "checkbox" type.
- radioOrBox(String, String, Object, Object, boolean, String) - Static method in class edu.wisc.game.util.Tools
-
Creates an HTML "input" element of the "radio" or "checkbox" type.
- random - Static variable in class edu.wisc.game.sql.Board
- RandomGameGenerator - Class in edu.wisc.game.sql
-
This class generates random games (with the same rule set and randomly created initial boards) based on the provided parameter range specifications
- RandomGameGenerator(File, int[], int[], int[], Piece.Shape[], Piece.Color[]) - Constructor for class edu.wisc.game.sql.RandomGameGenerator
- RandomImageGameGenerator - Class in edu.wisc.game.sql
-
This class generates random games (with the same rule set and randomly created initial boards) using image-and-property based game pieces based on the provided parameter range specifications
- RandomImageGameGenerator(File, int[], String[]) - Constructor for class edu.wisc.game.sql.RandomImageGameGenerator
- randomObjCnt - Variable in class edu.wisc.game.sql.Game
-
If starting with a random board, the number of pieces to use.
- RandomRG - Class in edu.wisc.game.util
- RandomRG() - Constructor for class edu.wisc.game.util.RandomRG
- RandomRG(long) - Constructor for class edu.wisc.game.util.RandomRG
- randomSubsetOrdered(int, int) - Method in class edu.wisc.game.util.RandomRG
- randomSubsetPermuted(int, int) - Method in class edu.wisc.game.util.RandomRG
-
A random subset of m numbers out of [0:n-1], in random order
- read(File) - Static method in class edu.wisc.game.engine.AllRuleSets
- readBoard(File) - Static method in class edu.wisc.game.sql.Board
-
Reads a board description from a JSON file
- readDefects(String) - Static method in class edu.wisc.game.rest.TrialList
- readTextFile(File) - Static method in class edu.wisc.game.util.Util
-
Reads an entire text file into a string
- RED - Static variable in class edu.wisc.game.sql.Piece.Color
- Reflect - Class in edu.wisc.game.reflect
-
A bunch of methods to figure what fields a class has, and how to print them out in a more or less sensible way.
- Reflect.Entry - Class in edu.wisc.game.reflect
-
An entry describes one field of the class, complete with its access methods (getter and setter) and the display hints
- reflectToJSON(Object) - Method in class edu.wisc.game.reflect.JsonReflect
-
Converts a Java object to a JSON object, to the extent possible
- reflectToJSONObject(Object, boolean) - Static method in class edu.wisc.game.reflect.JsonReflect
-
Converts a Java object to a JSON object, to the extent possible
- reflectToJSONObject(Object, boolean, HashSet<String>) - Static method in class edu.wisc.game.reflect.JsonReflect
-
Converts a Java object to a JSON object, to the extent possible.
- reflectToString() - Method in class edu.wisc.game.reflect.OurTable
- reflectToString(Object) - Static method in class edu.wisc.game.reflect.Reflect
-
Prints all appropriate fields of the specified object in the default (toString) format
- reflectToString(Object, boolean) - Static method in class edu.wisc.game.reflect.Reflect
- Remotest - edu.wisc.game.engine.RuleSet.BucketSelector
- remotestBucket() - Method in class edu.wisc.game.sql.Board.Pos
-
Which bucket(s) is/are the most remote from this cell?
- removeEpisode(EpisodeInfo) - Method in class edu.wisc.game.sql.PlayerInfo
- removePiece(Piece) - Method in class edu.wisc.game.sql.Board
- report() - Method in class edu.wisc.game.sql.Episode
-
Concise report, handy for debugging
- report() - Method in class edu.wisc.game.sql.EpisodeInfo
-
Concise report, handy for debugging
- report() - Method in class edu.wisc.game.sql.PlayerInfo
-
Generates a concise report on this player's history, handy for debugging.
- reportSrc() - Method in class edu.wisc.game.engine.RuleSet
- researcher - edu.wisc.game.sql.Role.Name
- resetFormCnt() - Method in class edu.wisc.game.formatter.HTMLFmter
-
This must be called before the beginning of the document generation
- ResponseBase - Class in edu.wisc.game.rest
- ResponseBase - Class in edu.wisc.game.web
-
The base of all response objects returned by our REST API methods
- restoreTransientFields() - Method in class edu.wisc.game.sql.PlayerInfo
-
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.
- reverseArray(T[]) - Static method in class edu.wisc.game.util.Util
-
Creates a new array containing the same elements as x, but in reversed order.
- Role - Class in edu.wisc.game.sql
-
A role is simply a database-storable wrapper around the role name
- Role() - Constructor for class edu.wisc.game.sql.Role
- Role.Name - Enum in edu.wisc.game.sql
- roman(int) - Static method in class edu.wisc.game.util.Util
-
Converting to a roman numeral
- row(String...) - Method in class edu.wisc.game.formatter.Fmter
-
Generates a table row (a TR element)
- row(Vector<String>) - Method in class edu.wisc.game.formatter.Fmter
- rowExtra(String, String...) - Method in class edu.wisc.game.formatter.Fmter
- rowExtra(String, Vector<String>) - Method in class edu.wisc.game.formatter.Fmter
- rows - Variable in class edu.wisc.game.engine.RuleSet
-
All rows of this rule set
- rp - Variable in class edu.wisc.game.reflect.Reflect.Entry
- rp() - Method in annotation type edu.wisc.game.reflect.Display
-
This flag is set true for those fields that can be supplied by a referrer patient.
- ruleLineNo - Variable in class edu.wisc.game.sql.Episode
-
Which row of rules do we look at now? (0-based)
- RuleParseException - Exception in edu.wisc.game.parser
- RuleParseException(String) - Constructor for exception edu.wisc.game.parser.RuleParseException
- rules - Variable in class edu.wisc.game.sql.Game
- rulesCanBeCached(String) - Static method in class edu.wisc.game.rest.Files
-
Can the game server cache this rule set? The convention is, names not starting with a slash refer to files in the tomcat directory, whose content is supposed to be stable; therefore, they can be cached in the web app.
- RuleSet - Class in edu.wisc.game.engine
-
A RuleSet describes the rules of a game.
- RuleSet(String) - Constructor for class edu.wisc.game.engine.RuleSet
- RuleSet(String[]) - Constructor for class edu.wisc.game.engine.RuleSet
-
Creates a RuleSet based on the content of a rule set file.
- RuleSet.Atom - Class in edu.wisc.game.engine
-
Syntax:(counter,shape,color,position,bucketFunctions)
- RuleSet.BucketList - Class in edu.wisc.game.engine
-
A BucketList represents the information about the destination buckets given in the "buckets" field of an atom.
- RuleSet.BucketSelector - Enum in edu.wisc.game.engine
-
The list of variables that can be used in the bucket expression
- RuleSet.PositionList - Class in edu.wisc.game.engine
-
Represents the restrictions on the positions from which game pieces can be picked
- RuleSet.ReportedSrc - Class in edu.wisc.game.engine
-
This is used for pretty-printing in the GUI client.
- RuleSet.Row - Class in edu.wisc.game.engine
-
A row object represents the content of one line of the rule set description file, i.e.
- rulesFile(String) - Static method in class edu.wisc.game.rest.Files
S
- s - Variable in class edu.wisc.game.reflect.Reflect.Entry
-
The setter method for the field.
- same(Object, Object) - Static method in class edu.wisc.game.util.Util
-
Returns true if both objects are non-nulls and equals() return true, or if both are nulls.
- saveAsInsert(Object) - Static method in class edu.wisc.game.reflect.Reflect
-
Saves the object as a MySQL "INSERT" statement
- saveBoard(Board) - Method in class edu.wisc.game.rest.GameService
- saveGuessToFile(File, String, int) - Method in class edu.wisc.game.sql.EpisodeInfo
- saveMe() - Method in class edu.wisc.game.sql.PlayerInfo
-
Saves this object (and the associated Episode objects, via cascading) data in the SQL database.
- saveObject(T) - Static method in class edu.wisc.game.sql.Main
- SerialExpression() - Constructor for class edu.wisc.game.parser.Expression.SerialExpression
- seriesSize(int) - Method in class edu.wisc.game.sql.PlayerInfo
-
How many episodes are currently in series No.
- service(HttpServletRequest, HttpServletResponse) - Method in class edu.wisc.game.rest.GetImageServlet
- setAllEpisodes(Vector<EpisodeInfo>) - Method in class edu.wisc.game.sql.PlayerInfo
- setBoard(Board) - Method in class edu.wisc.game.rest.NewEpisodeWrapper
- setBoard(Board) - Method in class edu.wisc.game.sql.Episode.Display
- setBoard(Board) - Method in class edu.wisc.game.sql.Piece
- setBonus(boolean) - Method in class edu.wisc.game.sql.EpisodeInfo
- setBuckets(int[]) - Method in class edu.wisc.game.sql.Piece
- setByteCnt(long) - Method in class edu.wisc.game.rest.FileWriteReport
- setCode(int) - Method in class edu.wisc.game.sql.Episode.Display
- setColor(boolean) - Method in class edu.wisc.game.formatter.Fmter
-
This only affects HTML, not plain text
- setColor(Piece.Color) - Method in class edu.wisc.game.sql.Piece
-
This is how it used by our JsonToJava, when reading board files
- setCompletionCode(String) - Method in class edu.wisc.game.sql.PlayerInfo
- setDate(Date) - Method in class edu.wisc.game.sql.PlayerInfo
- setDropped(Integer) - Method in class edu.wisc.game.sql.Piece
- setEpisodeId(String) - Method in class edu.wisc.game.rest.NewEpisodeWrapper
- setEpisodeId(String) - Method in class edu.wisc.game.sql.Episode
- setErrmsg(String) - Method in class edu.wisc.game.rest.ResponseBase
- setErrmsg(String) - Method in class edu.wisc.game.rest.TrialList
- setErrmsg(String) - Method in class edu.wisc.game.sql.Episode.Display
- setErrmsg(String) - Method in class edu.wisc.game.sql.PropertiesTable
- setErrmsg(String) - Method in class edu.wisc.game.web.ResponseBase
- setError(boolean) - Method in class edu.wisc.game.rest.ResponseBase
- setError(boolean) - Method in class edu.wisc.game.rest.TrialList
- setError(boolean) - Method in class edu.wisc.game.sql.Episode.Display
- setError(boolean) - Method in class edu.wisc.game.sql.PropertiesTable
- setError(boolean) - Method in class edu.wisc.game.web.ResponseBase
- setExperimentPlan(String) - Method in class edu.wisc.game.sql.PlayerInfo
- setGuess(String) - Method in class edu.wisc.game.sql.EpisodeInfo
- setGuessConfidence(int) - Method in class edu.wisc.game.sql.EpisodeInfo
- setGuessSaved(boolean) - Method in class edu.wisc.game.sql.EpisodeInfo
- setId(long) - Method in class edu.wisc.game.sql.Board
- setId(long) - Method in class edu.wisc.game.sql.Piece
- setImage(String) - Method in class edu.wisc.game.sql.Piece
- setInputDir(String) - Static method in class edu.wisc.game.rest.Files
-
Sets the path to the input directory, which is the root of the tree that contains the experiment control files.
- setLevel(Level) - Static method in class edu.wisc.game.util.Logging
- setName(String) - Method in class edu.wisc.game.sql.Board
- setNPiecesStart(int) - Method in class edu.wisc.game.sql.Episode
- setNumMovesMade(int) - Method in class edu.wisc.game.sql.Episode.Display
- setPath(String) - Method in class edu.wisc.game.rest.FileWriteReport
- setPath(String) - Method in class edu.wisc.game.rest.TrialList
- setPath(String) - Method in class edu.wisc.game.sql.PropertiesTable
- setPlayer(PlayerInfo) - Method in class edu.wisc.game.sql.EpisodeInfo
- setPlayer(Test) - Method in class edu.wisc.game.sql.TestChild
- setPlayerId(String) - Method in class edu.wisc.game.sql.PlayerInfo
- setRole(Role.Name) - Method in class edu.wisc.game.sql.Role
- setRole(String) - Method in class edu.wisc.game.sql.Role
- setSeriesNo(int) - Method in class edu.wisc.game.sql.EpisodeInfo
- setShape(Piece.Shape) - Method in class edu.wisc.game.sql.Piece
-
This is how it used by our JsonToJava
- setStartTime(Date) - Method in class edu.wisc.game.sql.Episode
- setTotalRewardEarned(int) - Method in class edu.wisc.game.sql.PlayerInfo
- setTrialListId(String) - Method in class edu.wisc.game.sql.PlayerInfo
- setValue(Vector<Piece>) - Method in class edu.wisc.game.sql.Board
- setValues(Vector<String>) - Method in class edu.wisc.game.rest.ListShapesWrapper
- setVerbose(boolean) - Static method in class edu.wisc.game.util.Logging
- setX(int) - Method in class edu.wisc.game.sql.Piece
- setY(int) - Method in class edu.wisc.game.sql.Piece
- shapes - Variable in class edu.wisc.game.engine.RuleSet.Atom
-
For shape-and-color pieces, determines acceptable shapes.
- shapes - Variable in class edu.wisc.game.rest.ParaSet
-
Will be set as appropriate if specified in the CSV file "colors" column
- shapesDir() - Static method in class edu.wisc.game.rest.Files
- small(String) - Method in class edu.wisc.game.formatter.Fmter
- space() - Method in class edu.wisc.game.formatter.Fmter
- space(int) - Method in class edu.wisc.game.formatter.Fmter
- space(int) - Method in class edu.wisc.game.formatter.HTMLFmter
- splitCSV(String) - Static method in class edu.wisc.game.util.ImportCSV
-
Converts a single string (such as a line of CSV file) into an array of strings.
- splitCSVTrim(String) - Static method in class edu.wisc.game.util.ImportCSV
- sqlDf - Static variable in class edu.wisc.game.reflect.Reflect
- SQUARE - Static variable in class edu.wisc.game.sql.Piece.Shape
- src(String) - Method in class edu.wisc.game.formatter.Fmter
-
Font emphasis for text directly sourced from the rap sheet
- STALEMATE - Static variable in class edu.wisc.game.sql.Episode.CODE
- STALEMATE - Static variable in class edu.wisc.game.sql.Episode.FINISH_CODE
- STANDARD - edu.wisc.game.sql.Episode.OutputMode
- Star() - Constructor for class edu.wisc.game.parser.Expression.Star
- STAR - Static variable in interface edu.wisc.game.parser.Expression
- STAR - Static variable in class edu.wisc.game.sql.Piece.Shape
- startsWithAny(String, String[]) - Static method in class edu.wisc.game.util.Util
- startTrial(String, String) - Method in class edu.wisc.game.rest.GameService
- STRING - edu.wisc.game.parser.Token.Type
- strong(String) - Method in class edu.wisc.game.formatter.Fmter
- style() - Method in class edu.wisc.game.formatter.Fmter
- style() - Method in class edu.wisc.game.formatter.HTMLFmter
-
The STYLE element
- subscriber - edu.wisc.game.sql.Role.Name
- sVal - Variable in class edu.wisc.game.parser.Expression.Id
- sVal - Variable in class edu.wisc.game.parser.Token
- symbol() - Method in class edu.wisc.game.sql.ImageObject
-
For use in ASCII graphics
- symbol() - Method in class edu.wisc.game.sql.Piece.Color
- symbol() - Method in class edu.wisc.game.sql.Piece.Shape
-
A human-readable representation of the shape, for use in ASCII graphics
T
- T - edu.wisc.game.engine.Order.PositionSelector
- table(String, String...) - Method in class edu.wisc.game.formatter.Fmter
-
Generates a TABLE ...
- table(String, Vector<String>) - Method in class edu.wisc.game.formatter.Fmter
- td(String) - Method in class edu.wisc.game.formatter.Fmter
- td(String, String) - Method in class edu.wisc.game.formatter.Fmter
- Test - Class in edu.wisc.game.sql
-
Used for testing JPA persistence features
- TestChild - Class in edu.wisc.game.sql
-
An EpisodeInfo instance extends an Episode, containing additional information related to it being played as part of an experiment.
- TestParent - Class in edu.wisc.game.sql
- TestParent() - Constructor for class edu.wisc.game.sql.TestParent
- text - Variable in class edu.wisc.game.util.CsvData.CommentEntry
-
The entire text of the comment line
- text() - Method in annotation type edu.wisc.game.reflect.Display
-
If not null and not empty, this text will be displayed in parnethesis after the field's name in entry tables etc.
- th(String) - Method in class edu.wisc.game.formatter.Fmter
- toArgv() - Method in class edu.wisc.game.parser.Token
-
Re-imagines the token as an element of a command line.
- toBitSet(Collection<Integer>) - Static method in class edu.wisc.game.util.Util
-
Converts a vector of integers to a BitSet
- Token - Class in edu.wisc.game.parser
-
A token represents an element of the input text.
- Token.Type - Enum in edu.wisc.game.parser
- tokenize(String) - Static method in class edu.wisc.game.parser.Token
- toMap() - Method in class edu.wisc.game.util.CsvData
-
Creates a hash map that includes all entries from the CSV file that have keys (i.e., normally, all data lines).
- Tools - Class in edu.wisc.game.util
-
Various methods related to generating HTML forms and their components, and processing requests sent by the web browser when those forms are filled
- Tools() - Constructor for class edu.wisc.game.util.Tools
- toSrc() - Method in class edu.wisc.game.engine.RuleSet.Atom
-
Format as the source code of the rules set
- toSrc() - Method in class edu.wisc.game.engine.RuleSet.BucketList
- toSrc() - Method in class edu.wisc.game.engine.RuleSet.PositionList
- toSrc() - Method in class edu.wisc.game.engine.RuleSet.Row
-
Format as the source code of this row
- toSrc() - Method in class edu.wisc.game.engine.RuleSet
-
Format as the source code of the rules set
- toSrc() - Method in class edu.wisc.game.parser.Expression.BracketList
- toSrc() - Method in class edu.wisc.game.parser.Expression.ColonExpression
- toSrc() - Method in class edu.wisc.game.parser.Expression.Id
- toSrc() - Method in class edu.wisc.game.parser.Expression.NegationExpression
- toSrc() - Method in class edu.wisc.game.parser.Expression.Num
- toSrc() - Method in class edu.wisc.game.parser.Expression.ParenList
- toSrc() - Method in class edu.wisc.game.parser.Expression.RangeExpression
- toSrc() - Method in class edu.wisc.game.parser.Expression.SerialExpression
- toSrc() - Method in class edu.wisc.game.parser.Expression.Star
- toSrc() - Method in interface edu.wisc.game.parser.Expression
- toSrc() - Method in class edu.wisc.game.parser.Token
- toSrc(char, char) - Method in class edu.wisc.game.parser.Expression.ExList
- toString() - Method in class edu.wisc.game.engine.Order
- toString() - Method in class edu.wisc.game.engine.RuleSet.Atom
- toString() - Method in class edu.wisc.game.engine.RuleSet.BucketList
- toString() - Method in class edu.wisc.game.engine.RuleSet.PositionList
- toString() - Method in class edu.wisc.game.engine.RuleSet.Row
- toString() - Method in class edu.wisc.game.engine.RuleSet
- toString() - Method in class edu.wisc.game.parser.Expression.BracketList
- toString() - Method in class edu.wisc.game.parser.Expression.ColonExpression
- toString() - Method in class edu.wisc.game.parser.Expression.Id
- toString() - Method in class edu.wisc.game.parser.Expression.NegationExpression
- toString() - Method in class edu.wisc.game.parser.Expression.Num
- toString() - Method in class edu.wisc.game.parser.Expression.ParenList
- toString() - Method in class edu.wisc.game.parser.Expression.QualifiedId
- toString() - Method in class edu.wisc.game.parser.Expression.RangeExpression
- toString() - Method in class edu.wisc.game.parser.Expression.SerialExpression
- toString() - Method in class edu.wisc.game.parser.Expression.Star
- toString() - Method in class edu.wisc.game.parser.Token
- toString() - Method in class edu.wisc.game.reflect.Reflect.Entry
- toString() - Method in class edu.wisc.game.sql.Episode.Move
- toString() - Method in class edu.wisc.game.sql.Episode.Pick
- toString() - Method in class edu.wisc.game.sql.Piece.PseudoEnum
- toString() - Method in class edu.wisc.game.sql.Piece
- toString() - Method in class edu.wisc.game.sql.PlayerInfo
- toString() - Method in class edu.wisc.game.sql.Role
- toString() - Method in class edu.wisc.game.sql.Test
- toString() - Method in class edu.wisc.game.util.CsvData.BasicLineEntry
- toString(char, char) - Method in class edu.wisc.game.parser.Expression.ExList
- toString(Vector<Token>) - Static method in class edu.wisc.game.parser.Token
- tr(String) - Method in class edu.wisc.game.formatter.Fmter
- transcriptsFile(String) - Static method in class edu.wisc.game.rest.Files
- TransitionMap() - Constructor for class edu.wisc.game.sql.PlayerInfo.TransitionMap
-
After an episode has been completed, what other episode(s) can follow? This object is transmitted to the client as JSON, and can be used to draw all appropriate transition buttons.
- TrialList - Class in edu.wisc.game.rest
- TrialList(File) - Constructor for class edu.wisc.game.rest.TrialList
-
Reads a trial list from the specified file.
- TrialList(String, String) - Constructor for class edu.wisc.game.rest.TrialList
-
Reads a trial list from the file that corresponds to a given experiment trial and the specified trial list id within that experiment.
- trialListFile(String, String) - Static method in class edu.wisc.game.rest.TrialList
-
Reads a trial list from the file that corresponds to a given experiment trial and the specified trial list id within that experiment.
- TRIANGLE - Static variable in class edu.wisc.game.sql.Piece.Shape
- TrivialGameGenerator - Class in edu.wisc.game.sql
-
Just keeps returning the same game every time
- TrivialGameGenerator(Game) - Constructor for class edu.wisc.game.sql.TrivialGameGenerator
-
Creates a trivial generator, which keeps returning the same game
- tt(String) - Method in class edu.wisc.game.formatter.Fmter
- type - Variable in class edu.wisc.game.parser.Token
U
- UNARY_OP - edu.wisc.game.parser.Token.Type
- Util - Class in edu.wisc.game.util
-
Auxiliary methods for manipulating hash tables etc
- Util() - Constructor for class edu.wisc.game.util.Util
V
- v - Variable in class edu.wisc.game.web.ArithmeticResult
-
Output to display, line by line
- validate(EntityManager, StringBuffer) - Method in class edu.wisc.game.reflect.OurTable
-
Validates a recently created entry, before it has been put into the database.
- valueOf(String) - Static method in enum edu.wisc.game.engine.Order.PositionSelector
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum edu.wisc.game.engine.RuleSet.BucketSelector
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum edu.wisc.game.parser.Token.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum edu.wisc.game.sql.Episode.OutputMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum edu.wisc.game.sql.PlayerInfo.Action
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum edu.wisc.game.sql.PlayerInfo.Transition
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum edu.wisc.game.sql.Role.Name
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum edu.wisc.game.engine.Order.PositionSelector
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum edu.wisc.game.engine.RuleSet.BucketSelector
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum edu.wisc.game.parser.Token.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum edu.wisc.game.sql.Episode.OutputMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum edu.wisc.game.sql.PlayerInfo.Action
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum edu.wisc.game.sql.PlayerInfo.Transition
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum edu.wisc.game.sql.Role.Name
-
Returns an array containing the constants of this enum type, in the order they are declared.
- version - Static variable in class edu.wisc.game.sql.Episode
W
- warning(String) - Static method in class edu.wisc.game.util.Logging
- wrap(String, String) - Method in class edu.wisc.game.formatter.Fmter
- wrap(String, String) - Method in class edu.wisc.game.formatter.HTMLFmter
- wrap(String, String, String) - Method in class edu.wisc.game.formatter.Fmter
- wrap(String, String, String) - Method in class edu.wisc.game.formatter.HTMLFmter
-
Builds an HTML element with an opening tag (with optional attributes) and a matching closing tag.
- wrap2(String, String) - Method in class edu.wisc.game.formatter.Fmter
- wrap2(String, String, String) - Method in class edu.wisc.game.formatter.Fmter
- writeFile(String, String, String, String) - Method in class edu.wisc.game.rest.GameService
- writeTextFile(File, String) - Static method in class edu.wisc.game.util.Util
-
Writes a string into a new text file
X
- xgetColor() - Method in class edu.wisc.game.sql.Piece
- xgetPara() - Method in class edu.wisc.game.sql.EpisodeInfo
- xgetShape() - Method in class edu.wisc.game.sql.Piece
-
For use in our application
- xynum(int, int) - Static method in class edu.wisc.game.sql.Board
-
The position number for the point at (x,y)
Y
- YELLOW - Static variable in class edu.wisc.game.sql.Piece.Color
All Classes All Packages