|
Swarm-NG
1.1
|
Generic command-line interface to use all aspects of the Swarm-NG libraries. More...
#include <iostream>#include <boost/program_options.hpp>#include <boost/program_options/positional_options.hpp>#include "swarm.h"#include "query.hpp"#include "snapshot.hpp"#include "stopwatch.h"#include "gpu/device_settings.hpp"Go to the source code of this file.
Classes | |
| struct | parameter_range |
| Data structure hold the values for a range of parameters. More... | |
Functions | |
| void | benchmark_item (const string ¶m, const string &value) |
| void | raise_validation_error (const string &s) |
| Because the signature of the function changed after boost version 1.41 we have to put this guard here. | |
| void | validate (boost::any &v, const std::vector< std::string > &values, parameter_range *, int) |
| Function called by Boost to parse the range parameter. | |
Generic command-line interface to use all aspects of the Swarm-NG libraries.
Command-line interface provides an easy and portable way to use the Swarm-NG routines without coding. This can be used to interoperate with other algorithms that are written in other languages.
For more info c.f. Swarm command-line interface
Routines in this file may need documenting
Definition in file swarm.cpp.
| void benchmark_item | ( | const string & | param, |
| const string & | value | ||
| ) |
CSV output for use in spreadsheet software
Definition at line 277 of file swarm.cpp.
References swarm::EnsembleAlloc< W, _Allocator >::clone(), compare_ensembles(), find_max_energy_conservation_error(), swarm::EnsembleBase< _CHUNK_SIZE, _NUM_BODY_ATTRIBUTES, _NUM_SYS_ATTRIBUTES >::time_ranges(), validate_configuration(), and watch_time().