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

Window Selection functor based on Shift Window Selection. More...

Public Member Functions

 shift_window_selection ()
 Standard Constructor. More...
 
circuit operator() (const circuit &base)
 Operator to determine the current window. More...
 

Public Attributes

unsigned window_length
 Length of the windows. More...
 
unsigned offset
 Offset determining for how many gates the window is shifted. More...
 

Detailed Description

Window Selection functor based on Shift Window Selection.

This functor is based on the shift window selection method as introduced in [SWDD10].

Author
RevKit
Since
1.0

Constructor & Destructor Documentation

Standard Constructor.

Initializes default values

Author
RevKit
Since
1.0

Member Function Documentation

circuit operator() ( const circuit base)

Operator to determine the current window.

Returns an empty circuit when no more windows can be determined.

Parameters
baseThe original circuit
Returns
A new window or the empty circuit
Author
RevKit
Since
1.0

Member Data Documentation

unsigned offset

Offset determining for how many gates the window is shifted.

When setting offset = window_length, the original circuit is partitioned.

Default value is 1.

Author
RevKit
Since
1.0
unsigned window_length

Length of the windows.

Default value is 10.

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