OpenGM  2.3.x
Discrete Graphical Model Library
Enumerations
opengm::canonical_view Namespace Reference

Enumerations

enum  CloneOption { CloneNever, CloneViews, CloneDeep }
 Controls cloning behavior of a CanonicalView. More...
 

Enumeration Type Documentation

Controls cloning behavior of a CanonicalView.

To reduce the overhead of view functions, CanonicalView is extended to allow cloning the calculated functions into ExplicitFunctions.

A template argument handles the different cases:

(1) CloneNever: Original behavior, no functions will be cloned. Original functions get injected directly whenever possible.

(2) CloneViews: Only the view functions will be cloned using ExplicitFunctions. Original functions get injected whenever possible.

(3) CloneDeep: All functions get cloned.

Enumerator
CloneNever 
CloneViews 
CloneDeep 

Definition at line 60 of file canonical_view.hxx.