Distance

Module that calculates the distance between its two input vectors or matrices using the euclidean or citiblock norm.

Example XML definition

Example

  <module
      class = "Distance"
      name = "Distance"
  />

Parameters

NameDescriptionTypeDefault
classThe class name for the module; must be "Distance".string
nameThe name of this instance of the module.string
typeThe type of normalizationlisteuclidean

Module Connections

Inputs

NameDescription
INPUT1The first input
INPUT2The second input

Outputs

NameDescription
OUTPUTThe output with the distance between the two inputs

Author

Christian Balkenius
christian.balkenius@lucs.lu.se
Lund University Cognitive Science

Files

Distance.h
Distance.cc
Distance.ikc

blog comments powered by Disqus