dlvhex  2.5.0
bm::distance_metric_descriptor Struct Reference

Distance metric descriptor, holds metric code and result. More...

#include <vs10/bm/bmalgo_impl.h>

Public Member Functions

 distance_metric_descriptor (distance_metric m)
 distance_metric_descriptor ()
void reset ()
 Sets metric result to 0.
 distance_metric_descriptor (distance_metric m)
 distance_metric_descriptor ()
void reset ()
 Sets metric result to 0.

Data Fields

distance_metric metric
bm::id_t result

Detailed Description

Distance metric descriptor, holds metric code and result.

See also:
distance_operation

Definition at line 85 of file bmalgo_impl.h.


Constructor & Destructor Documentation


Member Function Documentation

Sets metric result to 0.

Definition at line 102 of file bmalgo_impl.h.

References result.

Sets metric result to 0.

Definition at line 102 of file bmalgo_impl.h.

References result.


Field Documentation


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