ColorShapeLinks AI
An AI competition for the IEEE Conference on Games 2021
SessionOptions Class Reference

Command line session options, available only to the "session" verb command. More...

+ Inheritance diagram for SessionOptions:
+ Collaboration diagram for SessionOptions:

Public Member Functions

 SessionOptions (int pointsPerWin, int pointsPerLoss, int pointsPerDraw, string configFile, IEnumerable< string > thinkerListeners, IEnumerable< string > matchListeners, IEnumerable< string > sessionListeners, int rows, int cols, int winSequence, int roundPiecesPerPlayer, int squarePiecesPerPlayer, int timeLimitMillis, int minMoveTimeMillis, IEnumerable< string > assemblies, bool debugMode)
 Create a new instance of session options. More...
 

Properties

int PointsPerWin [get]
 Points per win. More...
 
int PointsPerLoss [get]
 Points per loss. More...
 
int PointsPerDraw [get]
 Points per draw. More...
 
string ConfigFile [get]
 Session configuration file. More...
 
override IEnumerable< string > ThinkerListeners [get]
 Thinker listeners. More...
 
override IEnumerable< string > MatchListeners [get]
 Match listeners. More...
 
IEnumerable< string > SessionListeners [get]
 Session listeners. More...
 
override IEnumerable< IThinkerPrototype >?? ThinkerPrototypes [get]
 A sequence of thinker prototypes. More...
 

Detailed Description

Command line session options, available only to the "session" verb command.

Constructor & Destructor Documentation

◆ SessionOptions()

SessionOptions ( int  pointsPerWin,
int  pointsPerLoss,
int  pointsPerDraw,
string  configFile,
IEnumerable< string >  thinkerListeners,
IEnumerable< string >  matchListeners,
IEnumerable< string >  sessionListeners,
int  rows,
int  cols,
int  winSequence,
int  roundPiecesPerPlayer,
int  squarePiecesPerPlayer,
int  timeLimitMillis,
int  minMoveTimeMillis,
IEnumerable< string >  assemblies,
bool  debugMode 
)
inline

Create a new instance of session options.

Parameters
pointsPerWinPoints per win.
pointsPerLossPoints per loss.
pointsPerDrawPoints per draw.
configFileSession configuration file.
thinkerListenersThinker listeners.
matchListenersMatch listeners.
sessionListenersSession listeners.
rowsNumber of board rows.
colsNumber of board columns.
winSequenceNumber of pieces in sequence for winning the game.
roundPiecesPerPlayerNumber of initial round pieces per player.
squarePiecesPerPlayerNumber of initial square pieces per player.
timeLimitMillisTime limit for thinking in milliseconds.
minMoveTimeMillisMinimum apparent move time in milliseconds.
assembliesThird-party assemblies.
debugModeShow debug information (exception stack traces)?

Property Documentation

◆ ConfigFile

string ConfigFile
get

Session configuration file.

Each line of this file contains the fully qualified name of a thinker, a space, and the thinker options.

◆ MatchListeners

override IEnumerable<string> MatchListeners
get

Match listeners.

◆ PointsPerDraw

int PointsPerDraw
get

Points per draw.

◆ PointsPerLoss

int PointsPerLoss
get

Points per loss.

◆ PointsPerWin

int PointsPerWin
get

Points per win.

◆ SessionListeners

IEnumerable<string> SessionListeners
get

Session listeners.

◆ ThinkerListeners

override IEnumerable<string> ThinkerListeners
get

Thinker listeners.

◆ ThinkerPrototypes

override IEnumerable<IThinkerPrototype>?? ThinkerPrototypes
get

A sequence of thinker prototypes.


The documentation for this class was generated from the following file: