Loading...
Searching...
No Matches
sampledloss.h
Go to the documentation of this file.
1#ifndef _BBM_SAMPLEDLOSS_CONCEPT_H_
2#define _BBM_SAMPLEDLOSS_CONCEPT_H_
3
4#include <type_traits>
5
6#include "concepts/loss.h"
8
9/************************************************************************/
10/*! \file sampledloss.h
11
12 \brief sampledloss contract
13
14*************************************************************************/
15
16namespace bbm {
17
18 //! \brief Forward declaration
19 template<typename CONF> requires concepts::config<CONF> struct sampledloss_base;
20
21 namespace concepts {
22
23 /********************************************************************/
24 /*! \brief sampledloss concept
25
26 Every sampled loss:
27 + concepts::loss
28 + concepts::sampledlossfunction
29 + inherit from sampledloss_base
30 *********************************************************************/
31 template<typename T>
33
34 } // end concepts namespace
35} // end bbm namespace
36
37
38#endif /* _BBM_SAMPLEDLOSS_CONCEPT_H_ */
config concept
Definition: config.h:31
loss concept
Definition: loss.h:29
sampledloss concept
Definition: sampledloss.h:32
sampled loss function concept
Definition: sampledlossfunction.h:27
loss contract: virtual interface wrapper around lossfunctions
sampled loss function contract
Definition: aggregatebsdf.h:29
Forward declaration.
Definition: sampledloss.h:19