src/core/reinforcement/memory/StateTransition.java
public void print(boolean forward) {
        print();
        if (forward) {
            if (nextStateTransition != null) nextStateTransition.print(true);
        }
        else {
            if (previousStateTransition != null) previousStateTransition.print(false);
        }
    }
/**
     * Print state transition chain.
     *
     * @param forward if true prints forward direction otherwise prints backward direction.
     */
Print state transition chain.
@param forward if true prints forward direction otherwise prints backward direction.
Print state transition chain . @param forward if true prints forward direction otherwise prints backward direction .
public void print(boolean forward) {
        print();
        if (forward) {
            if (nextStateTransition != null) nextStateTransition.print(true);
        }
        else {
            if (previousStateTransition != null) previousStateTransition.print(false);
        }
    }
public void print ( boolean forward ) { print ( ) ; if ( forward ) { if ( nextStateTransition != null ) nextStateTransition . print ( true ) ; } else { if ( previousStateTransition != null ) previousStateTransition . print ( false ) ; } }
Print state transition chain.
Print state transition chain .