21 #ifndef SNABSUITE_SNABS_SETUP_TIME_HPP 22 #define SNABSUITE_SNABS_SETUP_TIME_HPP 24 #include <cypress/cypress.hpp> 51 std::initializer_list<std::string> indicator_units,
52 std::initializer_list<std::string> required_parameters,
59 std::vector<std::array<cypress::Real, 4>>
evaluate()
override;
60 virtual std::shared_ptr<SNABBase>
clone()
override 74 std::shared_ptr<SNABBase>
clone()
override 88 std::shared_ptr<SNABBase>
clone()
override std::vector< std::array< cypress::Real, 4 > > evaluate() override
This should contain the evaluation process and return the result in order of those in names()...
std::string m_backend
String which contains the name of the simulation backend.
void run_netw(cypress::Network &netw) override
SetupTimeOneToOne(std::string name, std::string backend, std::initializer_list< std::string > indicator_names, std::initializer_list< std::string > indicator_types, std::initializer_list< std::string > indicator_measures, std::initializer_list< std::string > indicator_units, std::initializer_list< std::string > required_parameters, size_t bench_index)
cypress::PopulationBase m_pop2
Virtual Base class for SNABs(Benchmarks). All SNABs should have seperate building of networks...
cypress::Network & build_netw(cypress::Network &netw) override
Building the neural network for benchmarking. If you want to use an external network, you should use the first version of building (and the corresponding run function), for the member network use the second function. The implementation is contained in the first one.
const std::vector< std::string > & indicator_measures() const
Getter for SNABSSuite::m_indicator_measures.
const std::vector< std::string > & indicator_names() const
Getter for SNABSSuite::m_indicator_names.
cypress::PopulationBase m_pop1
const std::vector< std::string > & indicator_types() const
Getter for SNABSSuite::m_indicator_types.
std::shared_ptr< SNABBase > clone() override
Virtual method cloning the SNAB without knowing which SNAB it is.
const size_t m_bench_index
virtual std::shared_ptr< SNABBase > clone() override
Virtual method cloning the SNAB without knowing which SNAB it is.
std::shared_ptr< SNABBase > clone() override
Virtual method cloning the SNAB without knowing which SNAB it is.