|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectptolemy.graph.analysis.Analysis
ptolemy.graph.analysis.SourceNodeAnalysis
public class SourceNodeAnalysis
Computation of source nodes in a graph. A source node in a graph is a node without input edges.
The returned collection cannot be modified when the client uses the default analyzer.
| Red (ssb) |
| Red (shahrooz) |
| Constructor Summary | |
|---|---|
SourceNodeAnalysis(Graph graph)
Construct an instance of this class for a given graph. |
|
SourceNodeAnalysis(SourceNodeAnalyzer analyzer)
Construct an instance of this class using a given analyzer. |
|
| Method Summary | |
|---|---|
java.util.List |
nodes()
Return the source nodes in the graph under analysis. |
java.lang.String |
toString()
Return a description of the analysis and the associated analyzer. |
boolean |
validAnalyzerInterface(Analyzer analyzer)
Check if a given analyzer is compatible with this analysis. |
| Methods inherited from class ptolemy.graph.analysis.Analysis |
|---|
analyzer, changeAnalyzer, graph, valid |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SourceNodeAnalysis(Graph graph)
graph - The given graph.public SourceNodeAnalysis(SourceNodeAnalyzer analyzer)
analyzer - The given analyzer.| Method Detail |
|---|
public java.util.List nodes()
Node.
public java.lang.String toString()
toString in class Analysispublic boolean validAnalyzerInterface(Analyzer analyzer)
validAnalyzerInterface in class Analysisanalyzer - The given analyzer.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||