Public Member Functions | Public Attributes

shift_window_selection Struct Reference

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

List of all members.

Public Member Functions

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

Public Attributes

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

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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Defines

Generated on Wed May 25 2011 16:34:52 for RevKit by doxygen 1.7.3