Graph representations in genetic programming