OpenANN  1.1.0
An open source library for artificial neural networks.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
List of all members | Classes | Public Member Functions
OpenANN::TriangleConstraint Struct Reference

Common constraint for encoding translation, scale and rotation invariance into a SigmaPi layer. More...

#include <SigmaPiConstraints.h>

+ Inheritance diagram for OpenANN::TriangleConstraint:

Classes

struct  AngleTuple
 

Public Member Functions

 TriangleConstraint (size_t width, size_t height, double resolution=M_PI/4)
 Constructor for TriangleConstraint. More...
 
virtual ~TriangleConstraint ()
 
virtual double operator() (int p1, int p2, int p3) const
 function call operator for corresponding third-order nodes More...
 
- Public Member Functions inherited from OpenANN::SigmaPi::Constraint
 Constraint ()
 
virtual ~Constraint ()
 
virtual double operator() (int p1, int p2) const
 function call operator for corresponding second-order nodes More...
 
virtual double operator() (int p1, int p2, int p3, int p4) const
 function call operator for corresponding fourth-order nodes More...
 
virtual bool isDefault () const
 

Detailed Description

Common constraint for encoding translation, scale and rotation invariance into a SigmaPi layer.

Constructor & Destructor Documentation

OpenANN::TriangleConstraint::TriangleConstraint ( size_t  width,
size_t  height,
double  resolution = M_PI / 4 
)
inline

Constructor for TriangleConstraint.

Parameters
widthwidth of the pattern
heightheight of the pattern
resolutionangle tolerance to get shared
virtual OpenANN::TriangleConstraint::~TriangleConstraint ( )
inlinevirtual

Member Function Documentation

virtual double OpenANN::TriangleConstraint::operator() ( int  p1,
int  p2,
int  p3 
) const
inlinevirtual

function call operator for corresponding third-order nodes

Reimplemented from OpenANN::SigmaPi::Constraint.


The documentation for this struct was generated from the following file: