target_value = reward (from env) + discount * (1 - terminal) * next_value
you can acquire next_value by using the q net itself(vanilla DQN), a target network(fixed target), or select an action using the online network and use this action to find the q value(double DQN)