Inspect search and problem stats.
More...
Inspect search and problem stats.
◆ StatsType
Enumeration of statistics types.
Enumerator |
---|
value | The statistics entry holds a value.
|
array | The statistics entry holds an array.
|
map | The statistics entry holds map.
|
◆ array() [1/2]
Get a view on the array of statistics entries if the entry is an array.
- Returns
- a view on the array of statistics entries
◆ array() [2/2]
Get a view on the array of statistics entries if the entry is an array.
- Returns
- a view on the array of statistics entries
◆ at() [1/2]
Get a statistics entry at the given index if the entry is an array.
- Parameters
-
index | the index of the statistics entry to get |
- Returns
- a statistics entry at the given index
◆ at() [2/2]
Get a statistics entry at the given index if the entry is an array.
- Parameters
-
index | the index of the statistics entry to get |
- Returns
- a statistics entry at the given index
◆ get() [1/2]
auto Clingo::ConstStats::get |
( |
std::string_view |
name | ) |
const -> ConstStats |
|
inline |
Get a statistics entry with the given name if the entry is a map.
- Parameters
-
name | the name of the statistics entry to get |
- Returns
- a statistics entry with the given name
◆ get() [2/2]
auto Clingo::Stats::get |
( |
std::string_view |
name | ) |
const -> Stats |
|
inline |
Get a statistics entry with the given name if the entry is a map.
- Parameters
-
name | the name of the statistics entry to get |
- Returns
- a statistics entry with the given name
◆ map() [1/2]
Get a view on the map of statistics entries if the entry is a map.
- Returns
- a view on the map of statistics entries
◆ map() [2/2]
Get a view on the map of statistics entries if the entry is a map.
- Returns
- a view on the map of statistics entries