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 | Public Member Functions
OpenANN::DistanceConstraint Struct Reference

Common constraint for encoding translation invariances into a SigmaPi layer. More...

#include <SigmaPiConstraints.h>

+ Inheritance diagram for OpenANN::DistanceConstraint:

Public Member Functions

 DistanceConstraint (size_t width, size_t height)
 
virtual ~DistanceConstraint ()
 
virtual double operator() (int p1, int p2) const
 function call operator for corresponding second-order nodes More...
 
- Public Member Functions inherited from OpenANN::SigmaPi::Constraint
 Constraint ()
 
virtual ~Constraint ()
 
virtual double operator() (int p1, int p2, int p3) const
 function call operator for corresponding third-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 invariances into a SigmaPi layer.

Constructor & Destructor Documentation

OpenANN::DistanceConstraint::DistanceConstraint ( size_t  width,
size_t  height 
)
inline
virtual OpenANN::DistanceConstraint::~DistanceConstraint ( )
inlinevirtual

Member Function Documentation

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

function call operator for corresponding second-order nodes

Reimplemented from OpenANN::SigmaPi::Constraint.


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