Swarm-NG  1.1
swarm.cpp File Reference

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 &param, 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.
 

Detailed Description

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.

Function Documentation

void benchmark_item ( const string &  param,
const string &  value 
)