OpenANN  1.1.0
An open source library for artificial neural networks.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
List of all members | Public Member Functions
OpenANN::StoppingInterrupt Class Reference

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 ()
 

Detailed Description

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!

Constructor & Destructor Documentation

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.

Member Function Documentation

bool OpenANN::StoppingInterrupt::isSignaled ( )

The documentation for this class was generated from the following file: