OpenANN
1.1.0
An open source library for artificial neural networks.
|
A system-independent interface for checking interrupts that can signals the end of the optimization process externally. More...
#include <StoppingInterrupt.h>
Public Member Functions | |
StoppingInterrupt () | |
Register the current interrupt handlers to catch OS-specific signals. More... | |
~StoppingInterrupt () | |
Automatically remove interrupt handlers to restore old OS-specific default state. More... | |
bool | isSignaled () |
A system-independent interface for checking interrupts that can signals the end of the optimization process externally.
If a specific signal integration for a plattform is not supported in OpenANN, this method will always return false and have no influence to the stopping criterias.
This is definitly NOT THREAD-SAFE!
OpenANN::StoppingInterrupt::StoppingInterrupt | ( | ) |
Register the current interrupt handlers to catch OS-specific signals.
OpenANN::StoppingInterrupt::~StoppingInterrupt | ( | ) |
Automatically remove interrupt handlers to restore old OS-specific default state.
bool OpenANN::StoppingInterrupt::isSignaled | ( | ) |