A trail is just like a walk in a graph, except that you are not allowed to traverse the same edge more than once.