#include <cluster.h>


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 | |
| Point * | first |
| Point * | second |
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.
| virtual Couple::~Couple | ( | ) | [inline, virtual] |
| virtual void Couple::determine_color | ( | float4 | hue_min, | |
| float4 | hue_max, | |||
| int | depth, | |||
| int | stopat | |||
| ) | [virtual] |
Reimplemented from Point.
| 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.
Referenced by elements_count().
Referenced by elements_count().
1.6.2