Couple Struct Reference

#include <cluster.h>

Inheritance diagram for Couple:
Inheritance graph
[legend]
Collaboration diagram for Couple:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Couple (Point *a, Point *b)
virtual ~Couple ()
virtual bool isCouple ()
float4 distance2point (Point *idx, Metriek *metriek)
virtual void determine_color (float4 hue_min, float4 hue_max, int depth, int stopat)
virtual unsigned4 elements_count ()
float4 distance (Couple *other, Metriek *metriek)

Public Attributes

Pointfirst
Pointsecond

Detailed Description

A couple is the aggregation of thwo subclusters or points. The average of those two points is the new location. A second use of the couples is to remember the distance between two points.


Constructor & Destructor Documentation

Couple::Couple ( Point a,
Point b 
)
virtual Couple::~Couple (  )  [inline, virtual]

Member Function Documentation

virtual void Couple::determine_color ( float4  hue_min,
float4  hue_max,
int  depth,
int  stopat 
) [virtual]

Reimplemented from Point.

float4 Couple::distance ( Couple other,
Metriek metriek 
)
float4 Couple::distance2point ( Point idx,
Metriek metriek 
)
virtual unsigned4 Couple::elements_count (  )  [inline, virtual]

Reimplemented from Point.

References Point::elements_count(), first, and second.

virtual bool Couple::isCouple (  )  [inline, virtual]

Reimplemented from Point.


Member Data Documentation

Referenced by elements_count().

Referenced by elements_count().


The documentation for this struct was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by  doxygen 1.6.2