Configuration of search and enumeration algorithms.
More...
Configuration of search and enumeration algorithms.
Entries in a configuration are organized hierarchically. Subentries are either accessed by name for map entries or by offset for array entries. Value entries have a string value that can be inspected or modified.
◆ ConfigType
Enumeration of configuration types.
Enumerator |
---|
value | The configuration entry is a double value.
|
array | The configuration entry is a array of configurations.
|
map | The configuration entry is a map of configurations.
|
◆ array() [1/2]
Access the configuration entry as an array.
- Returns
- the configuration entry as an array
◆ array() [2/2]
Access the configuration entry as an array.
- Returns
- the configuration entry as an array
◆ at() [1/2]
Get the configuration entry at the given index in the array.
- Parameters
-
index | the index of the configuration entry |
- Returns
- the configuration entry at the given index
◆ at() [2/2]
Get the configuration entry at the given index in the array.
- Parameters
-
index | the index of the configuration entry |
- Returns
- the configuration entry at the given index
◆ get() [1/2]
auto Clingo::Config::get |
( |
std::string_view |
name | ) |
const -> Config |
|
inline |
Get the configuration entry with the given name in the map.
- Parameters
-
name | the name of the configuration entry in the map |
- Returns
- the configuration entry with the given name
◆ get() [2/2]
auto Clingo::ConstConfig::get |
( |
std::string_view |
name | ) |
const -> ConstConfig |
|
inline |
Get the configuration entry with the given name in the map.
- Parameters
-
name | the name of the configuration entry in the map |
- Returns
- the configuration entry with the given name
◆ map() [1/2]
Access the configuration entry as a map.
- Returns
- The configuration entry as a map.
◆ map() [2/2]
Access the configuration entry as a map.
- Returns
- The configuration entry as a map.