Darwin Neuroevolution Framework
Classes | Enumerations | Functions
tournament Namespace Reference

Reusable tournament implementations. More...

Classes

class  GameRules
 Game rules abstraction (used to run the tournament) More...
 
struct  Scores
 Final game scores. More...
 
class  SimpleTournament
 A simple tournament implementation. More...
 
struct  SimpleTournamentConfig
 SimpleTournament configuration. More...
 
class  SwissTournament
 Swiss-style tournament More...
 
struct  SwissTournamentConfig
 SwissTournament configuration. More...
 
class  Tournament
 Tournament interface. More...
 
struct  TournamentVariant
 Tournament configurations. More...
 

Enumerations

enum  GameOutcome {
  GameOutcome::FirstPlayerWins,
  GameOutcome::SecondPlayerWins,
  GameOutcome::Draw
}
 Game outcome. More...
 
enum  TournamentType {
  TournamentType::Simple,
  TournamentType::Swiss
}
 Tournament type. More...
 

Functions

unique_ptr< Tournamentcreate (const TournamentVariant &variant)
 Concrete tournament factory.
 

Detailed Description

Reusable tournament implementations.

Enumeration Type Documentation

◆ GameOutcome

Game outcome.

See also
GameRules
Enumerator
FirstPlayerWins 

First player wins.

SecondPlayerWins 

Second player wins.

Draw 

Game ended up in a draw.

◆ TournamentType

Tournament type.

Enumerator
Simple 

A basic tournament implementation.

Swiss 

Swiss-system tournament.