List of all members | Public Member Functions | Public Attributes
print_statistics_settings Struct Reference

Settings for print_statistics. More...

Public Member Functions

 print_statistics_settings ()
 Default constructor. More...
 

Public Attributes

std::string main_template
 Main Template for statistics output. More...
 
std::string runtime_template
 Run-time Template for statistics output. More...
 

Detailed Description

Settings for print_statistics.

Author
RevKit
Since
1.0

Constructor & Destructor Documentation

Default constructor.

Initializes default values

Author
RevKit
Since
1.0

Member Data Documentation

std::string main_template

Main Template for statistics output.

Use

  • %1$s as placeholder for the run-time string (specified by runtime_template),
  • %2$d as placeholder for number of gates,
  • %3$d as placeholder for number of lines, and
  • %4$d as placeholder for quantum costs.

Default value is: "%1$sGates: %2$d\nLines: %3$d\n"

Author
RevKit
Since
1.0
std::string runtime_template

Run-time Template for statistics output.

This template will only be generated when a run-time parameter is specified (i.e. not -1) in the print_statistics function.

There is only one placeholder, where you can use the C printf notation, for example %.2f for 2 digits after the comma.

Default value is: "Runtime: %.2f\n"

Author
RevKit
Since
1.0

The documentation for this struct was generated from the following file:

Generated on Tue Apr 16 2013 08:12:02 for RevKit by doxygen 1.8.3.1