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

Session event listener which outputs session final results into a TSV file. More...

+ Inheritance diagram for RankingSessionListener:
+ Collaboration diagram for RankingSessionListener:

Public Member Functions

void ListenTo (ISessionSubject subject)
 Register listener with a session event producer. More...
 

Static Public Attributes

const string RankingFile = "results.tsv"
 File to where results will be saved. More...
 

Detailed Description

Session event listener which outputs session final results into a TSV file.

The main purpose of this listener is to save session results in a simple file which can be opened by a third-party tool, e.g. to be used in an optimization context.

Member Function Documentation

◆ ListenTo()

void ListenTo ( ISessionSubject  subject)
inline

Register listener with a session event producer.

Parameters
subjectThe session event producer which this listener will be listen to.
See also
ColorShapeLinks.TextBased.Lib.ISessionListener.ListenTo

Implements ISessionListener.

Member Data Documentation

◆ RankingFile

const string RankingFile = "results.tsv"
static

File to where results will be saved.


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