|
| | InsufficientInput (const char *file, int line, const char *function, const char *message="not enough data points to cluster anything") throw () |
| |
| | ~InsufficientInput () override throw () |
| |
| | BaseException () noexcept |
| | Default constructor.
|
| |
| | BaseException (const char *file, int line, const char *function) noexcept |
| | Constructor.
|
| |
| | BaseException (const char *file, int line, const char *function, const std::string &name, const std::string &message) noexcept |
| | Constructor.
|
| |
| | BaseException (const BaseException &exception) noexcept |
| | Copy constructor.
|
| |
| | ~BaseException () noexcept override |
| | Destructor.
|
| |
| const char * | getName () const noexcept |
| | Returns the name of the exception.
|
| |
| int | getLine () const noexcept |
| | Returns the line number where it occurred.
|
| |
| const char * | getFile () const noexcept |
| | Returns the file where it occurred.
|
| |
| const char * | getFunction () const noexcept |
| | Returns the function where it occurred.
|
| |
| const char * | getMessage () const noexcept |
| | Returns the message.
|
| |
Exception thrown if not enough data (<2) is used.
If the set of data to be clustered contains only one data point,
clustering algorithms would fail for obvious reasons.