#pragma once enum hdbscanConstraintType { mustLink, cannotLink }; /// /// A clustering constraint (either a must-link or cannot-link constraint between two points). /// class hdbscanConstraint { private: hdbscanConstraintType _constraintType; int _pointA; int _pointB; /// /// Creates a new constraint. /// /// The first point involved in the constraint /// The second point involved in the constraint /// The constraint type public: hdbscanConstraint(int pointA, int pointB, hdbscanConstraintType type); int getPointA(); int getPointB(); hdbscanConstraintType getConstraintType(); };