SimilarityMatrix Class Reference

#include <similarity_matrix.hh>

Inherits TriMatrix< Real >.

Public Member Functions

 SimilarityMatrix (int n, Real def_val=std::numeric_limits< Real >::min())
ost::img::ImageHandle AsImage (bool full=false) const
void Save (const String &filename)

Static Public Member Functions

static SimilarityMatrix Load (const String &filename)

Detailed Description

Definition at line 13 of file similarity_matrix.hh.


Constructor & Destructor Documentation

SimilarityMatrix ( int  n,
Real  def_val = std::numeric_limits<Real>::min() 
) [inline]

initialise similarity matrix with n datapoints.

The distances are initialised with the default value

Parameters:
n is the number of datapoints
def_val is the default similarity

Definition at line 21 of file similarity_matrix.hh.


Member Function Documentation

ost::img::ImageHandle AsImage ( bool  full = false  )  const
static SimilarityMatrix Load ( const String filename  )  [static]
void Save ( const String filename  ) 

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated on 20 Jun 2016 for OpenStructure by  doxygen 1.6.1