17 #include <core/stringify.h> 19 #include <initializer_list> 26 enum class BoardConfiguration {
34 inline auto customStringify(core::TypeTag<BoardConfiguration>) {
36 { BoardConfiguration::Triangle,
"triangle" },
37 { BoardConfiguration::Diamond,
"diamond" },
38 { BoardConfiguration::SimplifiedDiamond,
"simple diamond" },
39 { BoardConfiguration::Hexagon,
"hexagon" },
40 { BoardConfiguration::SimplifiedHexagon,
"simple hexagon" },
70 vector<StartNodes> start_nodes;
72 Board(initializer_list<Node> nodes,
73 initializer_list<Edge> edges,
74 initializer_list<StartNodes> start_nodes);
76 static const Board* getBoard(BoardConfiguration configuration);
Definition: ann_player.cpp:25
Handles types with a fixed, known set of values (enumerations for example)
Definition: stringify.h:85
const Stringify< T > * stringify()
Returns the stringifier for type T.
Definition: stringify.h:166