code: public void addTrace(final S state, final ADTNode<S, I, O> adtNode) {
  
          final FastMealyState<O> internalState = this.nodeToObservationMap.get(state);
  
          ADTNode<S, I, O> adsIter = adtNode;
  
          while (adsIter != null) {
              final Pair<Word<I>, Word<O>> trace = ADTUtil.buildTraceForNode(adsIter);
              this.addTrace(internalState, trace.getFirst(), trace.getSecond());
  
              adsIter = ADTUtil.getStartOfADS(adsIter).getParent();
          }
      }
docs: See {@link #addState(Object, Word, Object)}. Convenience method that stores all information that the traces of
  the given {@link ADTNode} holds.
  
  @param state
  the hypothesis state for which information should be stored
  @param adtNode
  the {@link ADTNode} whose traces should be stored