src/core/network/NeuralNetwork.java
private boolean stoppedExecution() {
        stopLock.lock();
        boolean stopped = false;
        if (stopExecution) {
            stopped = true;
            stopExecution = false;
        }
        stopLock.unlock();
        return stopped;
    }
/**
     * Checks if neural network execution (processing) is stopped.
     *
     * @return true if execution is stopped otherwise false.
     */
Checks if neural network execution (processing) is stopped.
@return true if execution is stopped otherwise false.
Checks if neural network execution ( processing ) is stopped . @return true if execution is stopped otherwise false .
private boolean stoppedExecution() {
        stopLock.lock();
        boolean stopped = false;
        if (stopExecution) {
            stopped = true;
            stopExecution = false;
        }
        stopLock.unlock();
        return stopped;
    }
private boolean stoppedExecution ( ) { stopLock . lock ( ) ; boolean stopped = false ; if ( stopExecution ) { stopped = true ; stopExecution = false ; } stopLock . unlock ( ) ; return stopped ; }
Checks if neural network execution (processing) is stopped.
Checks if neural network execution ( processing ) is stopped .