src/core/layer/AbstractLayer.java
public void stateCompleted(boolean forwardDirection) {
        if (forwardDirection) {
            if (hasNextLayer()) getNextLayer().stateCompleted(true);
            else stateCompleted();
        }
        else {
            if (hasPreviousLayer()) getPreviousLayer().stateCompleted(false);
            else stateCompleted();
        }
    }
/**
     * Marks state completed and propagates information to forward or backward direction depending on given flag.
     *
     * @param forwardDirection if true propagates state completion signal to forward direction otherwise propagates to backward direction.
     */
Marks state completed and propagates information to forward or backward direction depending on given flag.
@param forwardDirection if true propagates state completion signal to forward direction otherwise propagates to backward direction.
Marks state completed and propagates information to forward or backward direction depending on given flag . @param forwardDirection if true propagates state completion signal to forward direction otherwise propagates to backward direction .
public void stateCompleted(boolean forwardDirection) {
        if (forwardDirection) {
            if (hasNextLayer()) getNextLayer().stateCompleted(true);
            else stateCompleted();
        }
        else {
            if (hasPreviousLayer()) getPreviousLayer().stateCompleted(false);
            else stateCompleted();
        }
    }
public void stateCompleted ( boolean forwardDirection ) { if ( forwardDirection ) { if ( hasNextLayer ( ) ) getNextLayer ( ) . stateCompleted ( true ) ; else stateCompleted ( ) ; } else { if ( hasPreviousLayer ( ) ) getPreviousLayer ( ) . stateCompleted ( false ) ; else stateCompleted ( ) ; } }
Marks state completed and propagates information to forward or backward direction depending on given flag.
Marks state completed and propagates information to forward or backward direction depending on given flag .