This legend has been retold in many versions , and was used by Sigmund Freud to name the Oedipus complex .
The psychologist Sigmund Freud had a theory and he called it the Oedipus Complex , after this story .