src/core/reinforcement/agent/AgentFactory.java
private static boolean usesOnlineMemory(AgentAlgorithmType agentAlgorithmType) {
        return switch (agentAlgorithmType) {
            case QN, DQN, Sarsa, REINFORCE, ActorCritic, PPO, MCTS -> true;
            case DDQN, SACDiscrete -> false;
        };
    }
/**
     * Returns default assumption for memory type.
     *
     * @param agentAlgorithmType agent algorithm type.
     * @return assumption for memory type.
     */
Returns default assumption for memory type.

@param agentAlgorithmType agent algorithm type.
@return assumption for memory type.
Returns default assumption for memory type . @param agentAlgorithmType agent algorithm type . @return assumption for memory type .
private static boolean usesOnlineMemory(AgentAlgorithmType agentAlgorithmType) {
        return switch (agentAlgorithmType) {
            case QN, DQN, Sarsa, REINFORCE, ActorCritic, PPO, MCTS -> true;
            case DDQN, SACDiscrete -> false;
        };
    }
private static boolean usesOnlineMemory ( AgentAlgorithmType agentAlgorithmType ) { return switch ( agentAlgorithmType ) { case QN , DQN , Sarsa , REINFORCE , ActorCritic , PPO , MCTS -> true ; case DDQN , SACDiscrete -> false ; } ; }
Returns default assumption for memory type.
Returns default assumption for memory type .