LatencyEdge edge = new LatencyEdge (topNode, 0, bottomNode, 0);
LatencyEdge edge = new LatencyEdge(topNode, 0, bottomNode, 0, this);
    public Pipeline(        PipelineIter iterator,        streamit.scheduler2.constrained.StreamFactory factory)    {        super(iterator, factory);        latencyGraph = factory.getLatencyGraph();        // add all children to the latency graph        for (int nChild = 0; nChild < getNumChildren() - 1; nChild++)        {            StreamInterface topStream = getConstrainedChild(nChild);            StreamInterface bottomStream = getConstrainedChild(nChild + 1);            LatencyNode topNode = topStream.getBottomLatencyNode();            LatencyNode bottomNode = bottomStream.getTopLatencyNode();                        LatencyEdge edge = new LatencyEdge (topNode, 0, bottomNode, 0);        }    }