streamit.scheduler2.constrained
Class ConstrainedStreamFactory

java.lang.Object
  extended by streamit.misc.AssertedClass
      extended by streamit.misc.Misc
          extended by streamit.misc.DestroyedClass
              extended by streamit.scheduler2.constrained.ConstrainedStreamFactory
All Implemented Interfaces:
StreamFactory

public class ConstrainedStreamFactory
extends DestroyedClass
implements StreamFactory

This class basically implements the StreamFactory interface. In the current, first draft, this class will just create single appearance schedule objects, so the resulting schedules will be single appearance.


Method Summary
 LatencyGraph getLatencyGraph()
           
 Scheduler getScheduler()
           
 boolean needsSchedule()
          Whether a schedule should be computed for objects created by this factory.
 StreamInterface newFrom(Iterator streamIter, Iterator parent)
          Given an iterator, create an appropriate stream out of it.
 
Methods inherited from class streamit.misc.DestroyedClass
DELETE, finalize
 
Methods inherited from class streamit.misc.Misc
init_array_1D_float, init_array_1D_int, MAX, MIN
 
Methods inherited from class streamit.misc.AssertedClass
ASSERT, ASSERT, ASSERT, ASSERT, ASSERT, ASSERT, ASSERT, ASSERT, ASSERT, ASSERT, ASSERT, ERROR, ERROR, ERROR, SASSERT, SASSERT, SASSERT, SASSERT, SASSERT, SASSERT, SASSERT, SASSERT, SERROR, SERROR, SERROR
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newFrom

public StreamInterface newFrom(Iterator streamIter,
                               Iterator parent)
Description copied from interface: StreamFactory
Given an iterator, create an appropriate stream out of it.

Specified by:
newFrom in interface StreamFactory
Returns:
A stream corresponding to streamIter

getLatencyGraph

public LatencyGraph getLatencyGraph()

getScheduler

public Scheduler getScheduler()

needsSchedule

public boolean needsSchedule()
Description copied from interface: StreamFactory
Whether a schedule should be computed for objects created by this factory. For example, graphs constructed for SDEP calculations do not rely on a schedule.

Specified by:
needsSchedule in interface StreamFactory