opengm::And Struct Reference
[Operators]
Conjunction as a binary operation.
More...
#include <and.hxx>
List of all members.
Static Public Member Functions |
template<class T > |
static T | neutral () |
| neutral element (with return)
|
template<class T > |
static void | neutral (T &out) |
| neutral element (call by reference)
|
template<class T1 , class T2 > |
static void | op (const T1 &in, T2 &out) |
| operation (in-place)
|
template<class T1 , class T2 , class T3 > |
static void | op (const T1 &in1, const T2 &in2, T3 &out) |
| operation (not in-place)
|
static void | op (const bool &in1, const bool &in2, bool &out) |
static bool | hasbop () |
| bool operation flag
|
template<class T > |
static bool | bop (const T &in1, const T &in2) |
| boolean operation
|
static bool | bop (const bool &in1, const bool &in2) |
template<class T > |
static bool | ibop (const T &in1, const T &in2) |
| inverse boolean operation
|
static bool | ibop (const bool &in1, const bool &in2) |
Detailed Description
Conjunction as a binary operation.
Definition at line 10 of file and.hxx.
Member Function Documentation
static bool opengm::And::bop |
( |
const bool & |
in1, |
|
|
const bool & |
in2 | |
|
) |
| | [inline, static] |
template<class T >
static bool opengm::And::bop |
( |
const T & |
in1, |
|
|
const T & |
in2 | |
|
) |
| | [inline, static] |
boolean operation
Definition at line 40 of file and.hxx.
static bool opengm::And::hasbop |
( |
|
) |
[inline, static] |
bool operation flag
Definition at line 35 of file and.hxx.
static bool opengm::And::ibop |
( |
const bool & |
in1, |
|
|
const bool & |
in2 | |
|
) |
| | [inline, static] |
template<class T >
static bool opengm::And::ibop |
( |
const T & |
in1, |
|
|
const T & |
in2 | |
|
) |
| | [inline, static] |
inverse boolean operation
Definition at line 47 of file and.hxx.
template<class T >
static void opengm::And::neutral |
( |
T & |
out |
) |
[inline, static] |
neutral element (call by reference)
Definition at line 19 of file and.hxx.
template<class T >
static T opengm::And::neutral |
( |
|
) |
[inline, static] |
neutral element (with return)
Definition at line 14 of file and.hxx.
static void opengm::And::op |
( |
const bool & |
in1, |
|
|
const bool & |
in2, |
|
|
bool & |
out | |
|
) |
| | [inline, static] |
template<class T1 , class T2 , class T3 >
static void opengm::And::op |
( |
const T1 & |
in1, |
|
|
const T2 & |
in2, |
|
|
T3 & |
out | |
|
) |
| | [inline, static] |
operation (not in-place)
Definition at line 29 of file and.hxx.
template<class T1 , class T2 >
static void opengm::And::op |
( |
const T1 & |
in, |
|
|
T2 & |
out | |
|
) |
| | [inline, static] |
operation (in-place)
Definition at line 24 of file and.hxx.