at.dms.kjc.sir.lowering.fission
Class StatelessDot

java.lang.Object
  extended by at.dms.kjc.StreamItDot
      extended by at.dms.kjc.sir.lowering.fission.StatelessDot
All Implemented Interfaces:
AttributeStreamVisitor

public class StatelessDot
extends StreamItDot

This class extends the main streamit dot printer to color nodes that are stateless.


Nested Class Summary
 
Nested classes/interfaces inherited from class at.dms.kjc.StreamItDot
StreamItDot.NamePair
 
Constructor Summary
StatelessDot(PrintStream outputstream)
           
 
Method Summary
static void printGraph(SIRStream str, String filename)
          Prints dot graph of
 Object visitFilter(SIRFilter self, JFieldDeclaration[] fields, JMethodDeclaration[] methods, JMethodDeclaration init, JMethodDeclaration work, CType inputType, CType outputType)
           
 Object visitJoiner(SIRJoiner self, SIRJoinType type, JExpression[] expWeights)
           
 Object visitSplitter(SIRSplitter self, SIRSplitType type, JExpression[] expWeights)
           
 
Methods inherited from class at.dms.kjc.StreamItDot
compile, getClusterString, getName, makeFilterLabel, makeLabelledNode, print, printGraph, processWorkFunction, visitFeedbackLoop, visitPhasedFilter, visitPipeline, visitSplitJoin, visitStructure
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatelessDot

public StatelessDot(PrintStream outputstream)
Method Detail

visitFilter

public Object visitFilter(SIRFilter self,
                          JFieldDeclaration[] fields,
                          JMethodDeclaration[] methods,
                          JMethodDeclaration init,
                          JMethodDeclaration work,
                          CType inputType,
                          CType outputType)
Specified by:
visitFilter in interface AttributeStreamVisitor
Overrides:
visitFilter in class StreamItDot

visitSplitter

public Object visitSplitter(SIRSplitter self,
                            SIRSplitType type,
                            JExpression[] expWeights)
Specified by:
visitSplitter in interface AttributeStreamVisitor
Overrides:
visitSplitter in class StreamItDot

visitJoiner

public Object visitJoiner(SIRJoiner self,
                          SIRJoinType type,
                          JExpression[] expWeights)
Specified by:
visitJoiner in interface AttributeStreamVisitor
Overrides:
visitJoiner in class StreamItDot

printGraph

public static void printGraph(SIRStream str,
                              String filename)
Prints dot graph of
str
to
filename