Trait Generator 2.1.2
Personality traits from a weighted catalogue with conflicts, synergies and Big Five axes for C++23
Loading...
Searching...
No Matches
dasmig::trait_request Struct Reference

What to generate: how many traits, and traits to include or leave out. More...

#include <traitgen.hpp>

Public Attributes

std::size_t count {3}
 
std::vector< std::string > include {}
 
std::vector< std::string > exclude {}
 Traits that must not be drawn. Unknown names are ignored.
 

Detailed Description

What to generate: how many traits, and traits to include or leave out.

Definition at line 48 of file traitgen.hpp.

Member Data Documentation

◆ count

std::size_t dasmig::trait_request::count {3}

Number of traits, included ones counted. Fewer are returned when no other trait is compatible with those already chosen.

Definition at line 52 of file traitgen.hpp.

◆ exclude

std::vector<std::string> dasmig::trait_request::exclude {}

Traits that must not be drawn. Unknown names are ignored.

Definition at line 57 of file traitgen.hpp.

◆ include

std::vector<std::string> dasmig::trait_request::include {}

Traits that must be present, in this order, before any is drawn. They must exist and must not conflict with each other.

Definition at line 55 of file traitgen.hpp.


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